Class: Kiqr::Accounts::Settings::ProfilesController
- Inherits:
-
BaseController
- Object
- BaseController
- Kiqr::Accounts::Settings::ProfilesController
- Defined in:
- app/controllers/kiqr/accounts/settings/profiles_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
7 8 |
# File 'app/controllers/kiqr/accounts/settings/profiles_controller.rb', line 7 def show end |
#update ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'app/controllers/kiqr/accounts/settings/profiles_controller.rb', line 10 def update if @account.update(account_profile_params) (:success, :account_profile_updated) redirect_to account_settings_profile_path else render :show, status: :unprocessable_content end end |