Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
c746a1de
Commit
c746a1de
authored
Oct 22, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use faster, more appropriate pipeline for mentionable attributes
parent
c1ecfb5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/models/commit.rb
app/models/commit.rb
+1
-1
app/models/concerns/issuable.rb
app/models/concerns/issuable.rb
+1
-1
No files found.
app/models/commit.rb
View file @
c746a1de
...
...
@@ -7,7 +7,7 @@ class Commit
include
Referable
include
StaticModel
attr_mentionable
:safe_message
attr_mentionable
:safe_message
,
pipeline: :single_line
participant
:author
,
:committer
,
:notes
attr_accessor
:project
...
...
app/models/concerns/issuable.rb
View file @
c746a1de
...
...
@@ -46,7 +46,7 @@ module Issuable
allow_nil:
true
,
prefix:
true
attr_mentionable
:title
attr_mentionable
:title
,
pipeline: :single_line
attr_mentionable
:description
,
cache:
true
participant
:author
,
:assignee
,
:notes_with_associations
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment