1
0
Fork 0

Fix seeds

This commit is contained in:
Alex Kotov 2018-12-06 07:28:47 +05:00
parent 4a76fcd9c9
commit c519c2782b
No known key found for this signature in database
GPG Key ID: 4E831250F47DE154
1 changed files with 1 additions and 1 deletions

View File

@ -11,9 +11,9 @@ country_state_names.each do |name|
end
admin_account = Account.create!
admin_account.add_role :superuser
admin_account.create_user!(
email: Rails.application.credentials.initial_superuser_email,
password: Rails.application.credentials.initial_superuser_password,
confirmed_at: Time.zone.now,
)
admin_account.add_role :superuser