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
Methods included from SetsUserLanguageLocaleKey
Instance Method Details
#destroy ⇒ Object
6 7 8 9 10 |
# File 'app/controllers/spree/admin/option_values_controller.rb', line 6 def destroy option_value = Spree::OptionValue.find(params[:id]) option_value.destroy render plain: nil end |