diff options
author | Rydkin Maxim <maks.rydkin@gmail.com> | 2016-12-16 01:14:20 +0300 |
---|---|---|
committer | Rydkin Maxim <maks.rydkin@gmail.com> | 2016-12-16 21:37:22 +0300 |
commit | 170efaaba273792ddffc2806ef1501f33d87a5a2 (patch) | |
tree | d193abbcb948cf989f848b83583a157719512caf /app/policies/note_policy.rb | |
parent | b1120fc3e702daac001d000263eac79f4629b595 (diff) |
Enable Style/MultilineOperationIndentation in Rubocop, fixes #25741
Diffstat (limited to 'app/policies/note_policy.rb')
-rw-r--r-- | app/policies/note_policy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/note_policy.rb b/app/policies/note_policy.rb index 83847466ee2..5326061bd07 100644 --- a/app/policies/note_policy.rb +++ b/app/policies/note_policy.rb @@ -12,7 +12,7 @@ class NotePolicy < BasePolicy end if @subject.for_merge_request? && - @subject.noteable.author == @user + @subject.noteable.author == @user can! :resolve_note end end |