Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class RegistrationsController < Devise::RegistrationsController
- private
- def sign_up_params
- params.require(:user).permit( :name,
- :email,
- :password,
- :password_confirmation)
- end
- def account_update_params
- params.require(:user).permit( :name,
- :email,
- :password,
- :password_confirmation,
- :current_password)
- end
- end
Add Comment
Please, Sign In to add comment