Class: ActionAuth::PasswordsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/action_auth/passwords_controller.rb

Instance Method Summary collapse

Instance Method Details

#editObject



12
13
# File 'app/controllers/action_auth/passwords_controller.rb', line 12

def edit
end

#updateObject



15
16
17
18
19
20
21
# File 'app/controllers/action_auth/passwords_controller.rb', line 15

def update
  if @user.update(user_params)
    redirect_to , notice: "Your password has been changed"
  else
    render :edit, status: :unprocessable_entity
  end
end