diff options
author | Jarka Kadlecová <jarka@gitlab.com> | 2018-07-03 08:48:00 +0200 |
---|---|---|
committer | Jarka Kadlecová <jarka@gitlab.com> | 2018-07-03 09:34:44 +0200 |
commit | c9d561b1c2802aa971b566d434dfffa101129e52 (patch) | |
tree | d58693e077fab231463f344820601c7667bbe310 /app/models | |
parent | da841106a965a6cfb8c94df6704e6d23a2de67e5 (diff) | |
download | gitlab-ce-c9d561b1c2802aa971b566d434dfffa101129e52.tar.gz |
Use for_issuable? instead of for_issuable_with_ability?
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/note.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index 9191cae6391..3918bbee194 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -229,7 +229,7 @@ class Note < ActiveRecord::Base !for_personal_snippet? end - def for_issuable_with_ability? + def for_issuable? for_issue? || for_merge_request? end |