mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
12 lines
326 B
Ruby
12 lines
326 B
Ruby
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 |