Fixed some broken links on admin user page.

This commit is contained in:
Benjamin Meichsner 2009-09-07 11:21:12 +02:00
parent a1ca9f368d
commit 2cb0516e8c

View file

@ -38,7 +38,7 @@
<p style="clear:both">
<%= link_to 'Bearbeiten', edit_admin_user_path(@user) %>
| <%= link_to 'Löschen', [:admin, @user], :confirm => "Willst du #{@user.first_name} wirklich rausschmeißen?", :method => :delete %>
| <%= link_to 'Nachricht senden', :controller => 'messages', :action => 'user', :id => @user %>
| <%= link_to "Nachricht senden", user_message_path(@user.id) %>
</p>
</div>
<div class="box_title"><h2>Gruppenabos</h2></div>
@ -48,6 +48,5 @@
<%= link_to(membership.group.name, [:admin, membership.group]) %>
</p>
<% end -%>
<p><%= link_to 'Gruppenübersicht', :action => 'listGroups' %></p>
</div>
</div>