Class: Spree::Admin::ProductPropertiesController
- Inherits:
-
ResourceController
- Object
- ApplicationController
- BaseController
- BaseController
- ResourceController
- Spree::Admin::ProductPropertiesController
- Defined in:
- app/controllers/spree/admin/product_properties_controller.rb
Instance Method Summary collapse
Methods inherited from ResourceController
belongs_to, create, #create, destroy, #edit, #new, new_action, #update, update, #update_positions
Methods included from Core::ControllerHelpers::Common
Methods included from Core::ControllerHelpers::Auth
#current_ability, included, #redirect_back_or_default, #store_location, #try_spree_current_user, #unauthorized
Instance Method Details
#destroy ⇒ Object
14 15 16 17 18 |
# File 'app/controllers/spree/admin/product_properties_controller.rb', line 14 def destroy product_property = Spree::ProductProperty.find(params[:id]) product_property.destroy render :text => nil end |