diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-24 06:09:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-24 06:09:05 +0300 |
commit | 07d0374b204881f2bd64ed897e4bbab19f180cc9 (patch) | |
tree | ed7837a31c0edae5e8ec876626b0bf3ecb3db68c /app/models/discussion.rb | |
parent | 2ed3b0abccc8de391f1a9de2bc5785d3e0f5b018 (diff) |
Add latest changes from gitlab-org/gitlab@master
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 |