修改竞赛关注中关注项目读取错误

This commit is contained in:
huang 2015-03-20 15:52:32 +08:00
parent cea43cb045
commit 83d63bf479
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
<tr> <tr>
<td colspan="2" width="580px" ><p class="font_description"> <td colspan="2" width="580px" ><p class="font_description">
<% unless user.memberships.empty? %> <% unless user.memberships.empty? %>
<%= l(:label_contribute_to, :project_count => "#{user.memberships.count}") %> <%= l(:label_contribute_to, :count => "#{user.memberships.count}") %>
<% for member in user.memberships %> <% for member in user.memberships %>
<%= link_to_project(member.project) %><%= (user.memberships.last == member) ? '' : '' %> <%= link_to_project(member.project) %><%= (user.memberships.last == member) ? '' : '' %>
<% end %> <% end %>