Class: Spina::Admin::ThemeController
- Inherits:
-
AdminController
- Object
- ActionController::Base
- AdminController
- Spina::Admin::ThemeController
- Defined in:
- app/controllers/spina/admin/theme_controller.rb
Instance Method Summary collapse
Methods inherited from AdminController
Instance Method Details
#edit ⇒ Object
6 7 8 |
# File 'app/controllers/spina/admin/theme_controller.rb', line 6 def edit t("spina.theme.theme") end |
#update ⇒ Object
10 11 12 13 |
# File 'app/controllers/spina/admin/theme_controller.rb', line 10 def update Spina::Current.account.update(theme_params) redirect_to spina.edit_admin_theme_path, flash: {success: t("spina.theme.saved")} end |