Quick style correction

rails5
echarp 6 years ago
parent 006116c6e9
commit 367fb9bf91
  1. 3
      db/migrate/20131114103118_devise_create_admin_users.rb

@ -3,8 +3,9 @@ class DeviseCreateAdminUsers < ActiveRecord::Migration
def migrate(direction)
super
# Create a default user
return unless direction == :up
AdminUser.create!(email: 'admin@example.com', password: 'password',
password_confirmation: 'password') if direction == :up
password_confirmation: 'password')
end
# rubocop:disable Metrics/MethodLength

Loading…
Cancel
Save