From d7540bdd204fa7b1931f6f8f7d60da3a34f93374 Mon Sep 17 00:00:00 2001 From: wvengen Date: Sun, 30 Jun 2013 13:07:57 +0200 Subject: [PATCH] fix i18n key --- app/controllers/group_orders_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/group_orders_controller.rb b/app/controllers/group_orders_controller.rb index f93e98ec..31d1178a 100644 --- a/app/controllers/group_orders_controller.rb +++ b/app/controllers/group_orders_controller.rb @@ -77,7 +77,7 @@ class GroupOrdersController < ApplicationController @order = Order.find((params[:order_id] || params[:group_order][:order_id]), :include => [:supplier, :order_articles]) unless @order.open? - flash[:notice] = I18n.t('group_orders.error_closed') + flash[:notice] = I18n.t('group_orders.errors.closed') redirect_to :action => 'index' end end