Class: Locomotive::MyAccountController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/locomotive/my_account_controller.rb

Instance Method Summary collapse

Methods included from ActionController::UrlHelpers

#current_site_public_url, #public_page_url, #switch_to_site_url

Methods included from ActionController::SectionHelpers

#sections

Methods included from ActionController::LocaleHelpers

#back_to_default_site_locale, #current_content_locale, #localized?, #set_back_office_locale, #set_current_content_locale, #setup_i18n_fallbacks

Instance Method Details

#editObject



12
13
14
15
# File 'app/controllers/locomotive/my_account_controller.rb', line 12

def edit
  @account = 
  respond_with @account
end

#updateObject



17
18
19
20
21
# File 'app/controllers/locomotive/my_account_controller.rb', line 17

def update
  @account = 
  @account.update_attributes(params[:account])
  respond_with @account, :location => 
end