summaryrefslogtreecommitdiff
path: root/app/models/snippet.rb
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-11-17 18:46:31 -0200
committerFelipe Artur <felipefac@gmail.com>2016-11-21 12:09:41 -0200
commit9c740133a3bb4e992ccd7e3801402e4eab537e29 (patch)
tree4ab0a8a8a98f6d5ff914c1946c8a7133d12691d9 /app/models/snippet.rb
parent671c6d7d577d6b872bee7634c4eaf6b4da16919f (diff)
downloadgitlab-ce-9c740133a3bb4e992ccd7e3801402e4eab537e29.tar.gz
Allow JIRA references for project snippetsissue_24303
Diffstat (limited to 'app/models/snippet.rb')
-rw-r--r--app/models/snippet.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb
index 2373b445009..8ff4e7ae718 100644
--- a/app/models/snippet.rb
+++ b/app/models/snippet.rb
@@ -6,6 +6,7 @@ class Snippet < ActiveRecord::Base
include Referable
include Sortable
include Awardable
+ include Mentionable
cache_markdown_field :title, pipeline: :single_line
cache_markdown_field :content