Class: Spree::Admin::ReturnAuthorizationsController
- Inherits:
-
ResourceController
- Object
- BaseController
- BaseController
- ResourceController
- Spree::Admin::ReturnAuthorizationsController
- Defined in:
- app/controllers/spree/admin/return_authorizations_controller.rb
Instance Method Summary collapse
Methods inherited from ResourceController
belongs_to, #create, #destroy, #edit, #new, #update, #update_positions
Instance Method Details
#fire ⇒ Object
12 13 14 15 16 |
# File 'app/controllers/spree/admin/return_authorizations_controller.rb', line 12 def fire .send("#{params[:e]}!") redirect_back(fallback_location: (@order), flash: { success: t('spree.return_authorization_updated') }) end |