Class: Spree::Admin::ReimbursementsController

Inherits:
ResourceController show all
Defined in:
app/controllers/spree/admin/reimbursements_controller.rb

Instance Method Summary collapse

Methods inherited from ResourceController

belongs_to, #create, #destroy, #edit, #new, #update, #update_positions

Methods included from SetsUserLanguageLocaleKey

#set_user_language_locale_key

Instance Method Details

#performObject



16
17
18
19
# File 'app/controllers/spree/admin/reimbursements_controller.rb', line 16

def perform
  @reimbursement.perform!(created_by: spree_current_user)
  redirect_to location_after_save
end