Class: AlchemyDomains::Admin::LocalizationsController
- Inherits:
-
Alchemy::Admin::ResourcesController
- Object
- Alchemy::Admin::ResourcesController
- AlchemyDomains::Admin::LocalizationsController
- Defined in:
- app/controllers/alchemy_domains/admin/localizations_controller.rb
Instance Method Summary collapse
Instance Method Details
#update ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'app/controllers/alchemy_domains/admin/localizations_controller.rb', line 5 def update @localization = Localization.find(params[:id]) @localization.update_attributes(params[:localization]) render_errors_or_redirect( @localization, admin_domains_path, flash_notice_for_resource_action ) end |