From d470c660d887410310bfd085ce650cc54d03f5e1 Mon Sep 17 00:00:00 2001 From: Benjamin Meichsner Date: Thu, 13 Aug 2009 00:38:12 +0200 Subject: [PATCH] Fixed broken link in ordergroups view. --- app/views/foodcoop/ordergroups/_ordergroups.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/foodcoop/ordergroups/_ordergroups.html.haml b/app/views/foodcoop/ordergroups/_ordergroups.html.haml index 411fcddc..51137299 100644 --- a/app/views/foodcoop/ordergroups/_ordergroups.html.haml +++ b/app/views/foodcoop/ordergroups/_ordergroups.html.haml @@ -17,7 +17,7 @@ %tbody - for ordergroup in @ordergroups %tr{:class => cycle('even','odd', :name => 'ordergroup')} - %td= link_to h(ordergroup.name), {:controller => 'messages', :action => 'group', :id => ordergroup}, :title => "Bestellgruppe eine Nachricht schicken" + %td= link_to h(ordergroup.name), group_message_path(ordergroup), :title => "Bestellgruppe eine Nachricht schicken" %td=h ordergroup.users.collect { |u| u.nick }.join(", ") %td - order = ordergroup.orders.first(:order => 'starts DESC')