Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/discussion.rb')
-rw-r--r--app/models/discussion.rb34
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