Class: Admin::ReturnAuthorizationsController

Inherits:
ResourceController
  • Object
show all
Defined in:
app/controllers/admin/return_authorizations_controller.rb

Instance Method Summary collapse

Instance Method Details

#fireObject



7
8
9
10
11
# File 'app/controllers/admin/return_authorizations_controller.rb', line 7

def fire
  @return_authorization.send("#{params[:e]}!")
  flash.notice = t('return_authorization_updated')
  respond_with(@return_authorization) { |format| format.html { redirect_to :back } }
end