summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-10-22 15:40:02 +0200
committerDouwe Maan <douwe@gitlab.com>2015-10-22 15:40:02 +0200
commitc746a1de4ef75034c75d20e763ccfa1f73750722 (patch)
tree4ba0036603e77d0709636d5456170e7b85348a93 /app/models/commit.rb
parentc1ecfb5de960a675888640a05c75c07217c2d293 (diff)
downloadgitlab-ce-c746a1de4ef75034c75d20e763ccfa1f73750722.tar.gz
Use faster, more appropriate pipeline for mentionable attributes
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 492f6be1ce3..a5f70b3a351 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -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