foodsoft/app/views/users/_memberships.rhtml
2009-01-06 11:49:19 +01:00

5 lines
No EOL
174 B
Text

<% for membership in Membership.find_all_by_user_id(@user.id) %>
<p>
<%= link_to(membership.group.name, :action => 'showGroup', :id => membership.group) %>
</p>
<% end %>