Fixed broken link in ordergroups view.

This commit is contained in:
Benjamin Meichsner 2009-08-13 00:38:12 +02:00
parent 332fc831c8
commit d470c660d8
1 changed files with 1 additions and 1 deletions

View File

@ -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')