foodsoft/app/views/users/_memberships.rhtml

5 lines
174 B
Text
Raw Normal View History

2009-01-06 11:49:19 +01:00
<% for membership in Membership.find_all_by_user_id(@user.id) %>
<p>
<%= link_to(membership.group.name, :action => 'showGroup', :id => membership.group) %>
</p>
<% end %>