Class: UsersController
- Inherits:
-
Spree::BaseController
- Object
- ActionController::Base
- ApplicationController
- Spree::BaseController
- UsersController
- Defined in:
- app/controllers/users_controller.rb
Instance Method Summary collapse
Methods inherited from Spree::BaseController
#access_forbidden, #default_title, #find_order, #initialize_extension_partials, #set_title, #title
Methods inherited from ApplicationController
Methods included from EasyRoleRequirementSystem
Methods included from EasyRoleRequirementSystem::InstanceMethods
Methods included from RoleRequirementSystem
Instance Method Details
#update ⇒ Object
30 31 32 33 34 35 36 37 38 |
# File 'app/controllers/users_controller.rb', line 30 def update @user = @current_user if @user.update_attributes(params[:user]) flash[:notice] = t("account_updated") redirect_to account_url else render :action => :edit end end |