diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-08-17 17:56:23 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-08-17 17:58:00 +0200 |
commit | 10ba09f5466fe3d34a5ed78202c35f4e4f9d30e6 (patch) | |
tree | ed1a2f603198053a6872d3ac74ee69ba4990fdf3 /app/controllers/auth | |
parent | ff2cbc07530d87132af09900b4d0c9ada9d3e716 (diff) |
Upgrade to Rails 5.0.0.1
Diffstat (limited to 'app/controllers/auth')
-rw-r--r-- | app/controllers/auth/registrations_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/auth/registrations_controller.rb b/app/controllers/auth/registrations_controller.rb index ad0fd4437..8472edc69 100644 --- a/app/controllers/auth/registrations_controller.rb +++ b/app/controllers/auth/registrations_controller.rb @@ -11,8 +11,8 @@ class Auth::RegistrationsController < Devise::RegistrationsController end def configure_sign_up_params - devise_parameter_sanitizer.for(:sign_up) do |u| - u.permit(:email, :password, :password_confirmation, account_attributes: [:username]) + devise_parameter_sanitizer.permit(:sign_up) do |u| + u.permit({ account_attributes: [:username] }, :email, :password, :password_confirmation) end end |