diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-22 20:25:50 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 18:32:22 +0300 |
commit | f74ca33a32fbf810b377cf480e996fb383d8f400 (patch) | |
tree | b49de25e505da3ee7ca44493c4934b1add025130 /app/services/system_note_service.rb | |
parent | f3a83dc8fc377357291fd25d333f5b5a3616fae9 (diff) |
Enable Style/ClassCheck
Diffstat (limited to 'app/services/system_note_service.rb')
-rw-r--r-- | app/services/system_note_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/system_note_service.rb b/app/services/system_note_service.rb index 5cb4401d69d..55b548a12f9 100644 --- a/app/services/system_note_service.rb +++ b/app/services/system_note_service.rb @@ -356,7 +356,7 @@ module SystemNoteService note: cross_reference_note_content(gfm_reference) } - if noteable.kind_of?(Commit) + if noteable.is_a?(Commit) note_options.merge!(noteable_type: 'Commit', commit_id: noteable.id) else note_options[:noteable] = noteable |