Skip to content
Snippets Groups Projects
Commit c746a1de authored by Douwe Maan's avatar Douwe Maan
Browse files

Use faster, more appropriate pipeline for mentionable attributes

parent c1ecfb5d
No related branches found
No related tags found
2 merge requests!2051[Second try] Implement different Markdown rendering pipelines and cache Markdown,!1602Implement different Markdown rendering pipelines and cache Markdown
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment