Merge branch 'master' into i18n
Conflicts: app/assets/javascripts/application.js
This commit is contained in:
commit
98e7189d31
24 changed files with 223 additions and 248 deletions
|
|
@ -98,6 +98,8 @@ class OrdersController < ApplicationController
|
|||
order = Order.find(params[:id])
|
||||
order.finish!(@current_user)
|
||||
redirect_to order, notice: I18n.t('orders.finish.notice')
|
||||
rescue => error
|
||||
redirect_to orders_url, alert: I18n.t('errors.general_msg', :msg => error.message)
|
||||
end
|
||||
|
||||
# Renders the fax-text-file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue