Class: Users::RegistrationsController

Inherits:
Devise::RegistrationsController
  • Object
show all
Defined in:
app/controllers/users/registrations_controller.rb

Overview

Controller registration users

Instance Method Summary collapse

Instance Method Details

#configure_account_update_paramsObject

If you have extra params to permit, append them to the sanitizer.


49
50
51
# File 'app/controllers/users/registrations_controller.rb', line 49

def 
  devise_parameter_sanitizer.permit(:account_update, keys: [:name])
end

#configure_sign_up_paramsObject

If you have extra params to permit, append them to the sanitizer.


44
45
46
# File 'app/controllers/users/registrations_controller.rb', line 44

def 
  devise_parameter_sanitizer.permit(:sign_up, keys: [:name])
end