From de71a4659482aeb38da5e883eeff12b24056871a Mon Sep 17 00:00:00 2001 From: Adam Niedzielski Date: Wed, 19 Apr 2017 16:38:46 +0200 Subject: Display issuable state only in notes and issuable description Closes #30964 --- app/models/note.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/note.rb') 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. -- cgit v1.2.1