Class: Spree::Admin::OptionValuesController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/spree/admin/option_values_controller.rb

Instance Method Summary collapse

Methods included from SetsUserLanguageLocaleKey

#set_user_language_locale_key

Instance Method Details

#destroyObject



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