修改竞赛关注中关注项目读取错误
This commit is contained in:
parent
cea43cb045
commit
83d63bf479
|
@ -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 %>
|
||||||
|
|
Loading…
Reference in New Issue