summaryrefslogtreecommitdiff
path: root/app/models/snippet.rb
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-18 13:24:34 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-31 11:35:05 +0100
commit07c984d81cd7985d4ab7597cbb21b5f623b438e9 (patch)
tree8296ba468bad7e2d62f8d82d6dcbfac5fa5a659e /app/models/snippet.rb
parent228926daee799c95e752a3c284c860e5bc60e528 (diff)
downloadgitlab-ce-07c984d81cd7985d4ab7597cbb21b5f623b438e9.tar.gz
Port fix-realtime-edited-text-for-issues 9-2-stable fix to master.
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 882e2fa0594..6c3358685fe 100644
--- a/app/models/snippet.rb
+++ b/app/models/snippet.rb
@@ -8,6 +8,7 @@ class Snippet < ActiveRecord::Base
include Awardable
include Mentionable
include Spammable
+ include Editable
cache_markdown_field :title, pipeline: :single_line
cache_markdown_field :content