Fix Layout/SpaceAfterNot rubocop issue and remove from rubocop_todo list

This commit is contained in:
Bertocq
2017-06-21 22:35:28 +02:00
parent 9763931f55
commit 01263050a6
2 changed files with 1 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ class Flag < ActiveRecord::Base
def self.flagged?(user, flaggable)
return false unless user
!! by_user_and_flaggable(user, flaggable).try(:first)
!!by_user_and_flaggable(user, flaggable).try(:first)
end
end