diff options
Diffstat (limited to 'app/models/discussion.rb')
-rw-r--r-- | app/models/discussion.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/discussion.rb b/app/models/discussion.rb index d0a7db39a30..5c45c5fb7fb 100644 --- a/app/models/discussion.rb +++ b/app/models/discussion.rb @@ -19,7 +19,8 @@ class Discussion :noteable_ability_name, :to_ability_name, :editable?, - :visible_for?, + :system_note_with_references_visible_for?, + :resource_parent, to: :first_note |