Commit c746a1de authored by Douwe Maan's avatar Douwe Maan

Use faster, more appropriate pipeline for mentionable attributes

parent c1ecfb5d
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment