Class: Stall::CartCreditsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Stall::CartCreditsController
- Defined in:
- app/controllers/stall/cart_credits_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
10 11 12 13 |
# File 'app/controllers/stall/cart_credits_controller.rb', line 10 def destroy credit_usage_service.clean_credit_note_adjustments! redirect_to params[:_return_to] end |
#update ⇒ Object
5 6 7 8 |
# File 'app/controllers/stall/cart_credits_controller.rb', line 5 def update credit_usage_service.call redirect_to params[:_return_to] end |