Minor refactoring: Removed duplicate code.
This commit is contained in:
parent
15a280b449
commit
6a0784ab4f
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ returns
|
||||||
=end
|
=end
|
||||||
|
|
||||||
def self.signup_role_ids
|
def self.signup_role_ids
|
||||||
Role.where(active: true, default_at_signup: true).map(&:id)
|
signup_roles.map(&:id)
|
||||||
end
|
end
|
||||||
|
|
||||||
=begin
|
=begin
|
||||||
|
|
Loading…
Reference in a new issue