Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-11-17 23:46:31 +0300
committerFelipe Artur <felipefac@gmail.com>2016-11-21 17:09:41 +0300
commit9c740133a3bb4e992ccd7e3801402e4eab537e29 (patch)
tree4ab0a8a8a98f6d5ff914c1946c8a7133d12691d9 /app/models/snippet.rb
parent671c6d7d577d6b872bee7634c4eaf6b4da16919f (diff)
Allow JIRA references for project snippets
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