Class: Spree::Admin::OptionValuesController

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

Instance Method Summary collapse

Instance Method Details

#destroyObject



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