Method: Auth::Concerns::Shopping::ProductControllerConcern#destroy

Defined in:
app/controllers/auth/concerns/shopping/product_controller_concern.rb

#destroyObject



48
49
50
51
52
# File 'app/controllers/auth/concerns/shopping/product_controller_concern.rb', line 48

def destroy
  check_for_destroy(@auth_shopping_product)
  @auth_shopping_product.delete
  respond_with @auth_shopping_product
end