fix i18n key
This commit is contained in:
parent
9ef208fa13
commit
d7540bdd20
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class GroupOrdersController < ApplicationController
|
||||||
@order = Order.find((params[:order_id] || params[:group_order][:order_id]),
|
@order = Order.find((params[:order_id] || params[:group_order][:order_id]),
|
||||||
:include => [:supplier, :order_articles])
|
:include => [:supplier, :order_articles])
|
||||||
unless @order.open?
|
unless @order.open?
|
||||||
flash[:notice] = I18n.t('group_orders.error_closed')
|
flash[:notice] = I18n.t('group_orders.errors.closed')
|
||||||
redirect_to :action => 'index'
|
redirect_to :action => 'index'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue