fix hound ci violations

This commit is contained in:
Chrisbr 2014-05-13 11:12:53 +02:00
parent 132bb89556
commit 25ad5b7409

View file

@ -30,7 +30,7 @@ class User < ActiveRecord::Base
def setup_role
roles << Role.find_by(name: 'Admin') if User.count == 0
roles << Role.find_by(name: 'Participant') if self.roles.empty?
roles << Role.find_by(name: 'Participant') if roles.empty?
end
def popup_details