diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 656b416..a431ae1 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -37,8 +37,6 @@ class ApplicationController < ActionController::Base protected def configure_permitted_parameters - devise_parameter_sanitizer.for(:account_update) do |u| - u.permit :email, :password, :password_confirmation, :current_password, :language - end + devise_parameter_sanitizer.permit(:account_update, keys: [:language]) end end