Class: Quadro::UsersController

Inherits:
ApplicationController show all
Defined in:
app/controllers/quadro/users_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#after_sign_in_path_for, #after_sign_out_path_for

Instance Method Details

#updateObject



9
10
11
12
13
# File 'app/controllers/quadro/users_controller.rb', line 9

def update
  if user.update_with_password(params[:user])
     user, bypass: true
  end
end