Module: Spree::Admin::OptionValuesControllerDecorator
- Defined in:
- app/controllers/spree/admin/option_values_controller_decorator.rb
Instance Method Summary collapse
Instance Method Details
#update ⇒ Object
4 5 6 7 8 |
# File 'app/controllers/spree/admin/option_values_controller_decorator.rb', line 4 def update option_value = Spree::OptionValue.find(params[:id]) option_value.update update_option_value_attribute redirect_to spree.edit_admin_option_type_path(option_value.option_type) end |