Class: ActionAuth::Identity::EmailsController

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

Instance Method Summary collapse

Instance Method Details

#editObject



6
7
# File 'app/controllers/action_auth/identity/emails_controller.rb', line 6

def edit
end

#updateObject



9
10
11
12
13
14
15
# File 'app/controllers/action_auth/identity/emails_controller.rb', line 9

def update
  if @user.update(user_params)
    redirect_to_root
  else
    render :edit, status: :unprocessable_entity
  end
end