diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-18 13:24:34 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-31 11:35:05 +0100 |
commit | 07c984d81cd7985d4ab7597cbb21b5f623b438e9 (patch) | |
tree | 8296ba468bad7e2d62f8d82d6dcbfac5fa5a659e /app/models/snippet.rb | |
parent | 228926daee799c95e752a3c284c860e5bc60e528 (diff) | |
download | gitlab-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.rb | 1 |
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 |