Minor refactoring: Removed duplicate code.

This commit is contained in:
Thorsten Eckel 2018-03-15 10:11:39 +01:00
parent 15a280b449
commit 6a0784ab4f

View file

@ -82,7 +82,7 @@ returns
=end
def self.signup_role_ids
Role.where(active: true, default_at_signup: true).map(&:id)
signup_roles.map(&:id)
end
=begin