diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-20 13:43:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-20 13:43:29 +0300 |
commit | 3b1af5cc7ed2666ff18b718ce5d30fa5a2756674 (patch) | |
tree | 3bc4a40e0ee51ec27eabf917c537033c0c5b14d4 /app/models/discussion.rb | |
parent | 9bba14be3f2c211bf79e15769cd9b77bc73a13bc (diff) |
Add latest changes from gitlab-org/gitlab@16-1-stable-eev16.1.0-rc42
Diffstat (limited to 'app/models/discussion.rb')
-rw-r--r-- | app/models/discussion.rb | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/app/models/discussion.rb b/app/models/discussion.rb index 83c85f30178..dc4794ed3cd 100644 --- a/app/models/discussion.rb +++ b/app/models/discussion.rb @@ -13,23 +13,23 @@ class Discussion attr_reader :context_noteable attr_accessor :notes - delegate :created_at, - :project, - :author, - :noteable, - :commit_id, - :confidential?, - :for_commit?, - :for_design?, - :for_merge_request?, - :noteable_ability_name, - :to_ability_name, - :editable?, - :resolved_by_id, - :system_note_visible_for?, - :resource_parent, - :save, - to: :first_note + delegate :created_at, + :project, + :author, + :noteable, + :commit_id, + :confidential?, + :for_commit?, + :for_design?, + :for_merge_request?, + :noteable_ability_name, + :to_ability_name, + :editable?, + :resolved_by_id, + :system_note_visible_for?, + :resource_parent, + :save, + to: :first_note def declarative_policy_delegate first_note |