summaryrefslogtreecommitdiff
path: root/app/models/note.rb
diff options
context:
space:
mode:
authorAdam Niedzielski <adamsunday@gmail.com>2017-04-19 16:38:46 +0200
committerAdam Niedzielski <adamsunday@gmail.com>2017-04-19 16:38:46 +0200
commitde71a4659482aeb38da5e883eeff12b24056871a (patch)
tree55667fd9064ba9a02722c17e20c04f7cf6090989 /app/models/note.rb
parentbbd83376d625b8d9cb73cbc83c3c0eb71b1abf32 (diff)
downloadgitlab-ce-de71a4659482aeb38da5e883eeff12b24056871a.tar.gz
Display issuable state only in notes and issuable description
Closes #30964
Diffstat (limited to 'app/models/note.rb')
-rw-r--r--app/models/note.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/note.rb b/app/models/note.rb
index 630d0adbece..e720bfba030 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -16,7 +16,7 @@ class Note < ActiveRecord::Base
ignore_column :original_discussion_id
- cache_markdown_field :note, pipeline: :note
+ cache_markdown_field :note, pipeline: :note, issuable_state_filter_enabled: true
# Attribute containing rendered and redacted Markdown as generated by
# Banzai::ObjectRenderer.