Class: Spree::Admin::ReturnAuthorizationsController

Inherits:
ResourceController show all
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

#fireObject



10
11
12
13
14
# File 'app/controllers/spree/admin/return_authorizations_controller.rb', line 10

def fire
  @return_authorization.send("#{params[:e]}!")
  redirect_back(fallback_location: admin_order_return_authorizations_path(@order),
              flash: { success: t('spree.return_authorization_updated') })
end