Method: Auth::Concerns::Shopping::PaymentControllerConcern#destroy
- Defined in:
- app/controllers/auth/concerns/shopping/payment_controller_concern.rb
#destroy ⇒ Object
82 83 84 85 86 87 88 |
# File 'app/controllers/auth/concerns/shopping/payment_controller_concern.rb', line 82 def destroy @auth_shopping_payment = add_signed_in_resource(@auth_shopping_payment) if @auth_shopping_payment.signed_in_resource.is_admin? @auth_shopping_payment.delete end respond_with @auth_shopping_payment end |