Method: KktShoppe::UsersController#update

Defined in:
app/controllers/kkt_shoppe/users_controller.rb

#updateObject



32
33
34
35
36
37
38
# File 'app/controllers/kkt_shoppe/users_controller.rb', line 32

def update
  if @user.update(safe_params)
    redirect_to [:edit, @user], :flash => {:notice => t('kkt_shoppe.users.update_notice') }
  else
    render :action => "edit"
  end
end