fix hound ci violations
This commit is contained in:
parent
132bb89556
commit
25ad5b7409
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue