Class: Spree::Admin::OptionValuesController
- Inherits:
-
BaseController
- Object
- BaseController
- BaseController
- Spree::Admin::OptionValuesController
- Defined in:
- app/controllers/spree/admin/option_values_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
4 5 6 7 8 |
# File 'app/controllers/spree/admin/option_values_controller.rb', line 4 def destroy option_value = Spree::OptionValue.find(params[:id]) option_value.destroy render :text => nil end |