Class: Admin::ReturnAuthorizationsController
- Inherits:
-
ResourceController
- Object
- ResourceController
- Admin::ReturnAuthorizationsController
- Defined in:
- app/controllers/admin/return_authorizations_controller.rb
Instance Method Summary collapse
Instance Method Details
#fire ⇒ Object
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 |