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
10 11 12 13 14 |
# File 'app/controllers/spree/admin/return_authorizations_controller.rb', line 10 def fire @return_authorization.send("#{params[:e]}!") flash[:success] = Spree.t(:return_authorization_updated) redirect_to :back end |