Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Gitlab
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
What's new
5
Snippets
Groups
Projects
gitlab-cn
Gitlab
Commits
837a480e
Commit
837a480e
authored
2 years ago
by
huruizhi
Committed by
Tao Heng
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
If reference_pattern is nil, set to empty string
parent
05b41d8b
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jh/app/models/integrations/ones.rb
+4
-0
4 additions, 0 deletions
jh/app/models/integrations/ones.rb
with
4 additions
and
0 deletions
jh/app/models/integrations/ones.rb
+
4
−
0
View file @
837a480e
...
...
@@ -62,6 +62,10 @@ def fields
OnesFields
.
fields
end
def
self
.
reference_pattern
(
only_long:
true
)
@reference_pattern
||=
""
end
def
issue_tracker_path
url
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment