Fix Hound CI violations

This commit is contained in:
Chrisbr 2014-05-10 16:09:24 +02:00
parent a0d539bc3b
commit 7e7dadac88

View file

@ -19,7 +19,7 @@ class User < ActiveRecord::Base
def role?(role)
Rails.logger.debug("Checking role in user")
return !!self.roles.find_by_name(role.to_s.downcase.camelize)
!!roles.find_by_name(role.to_s.downcase.camelize)
end
def get_roles