个人主页 我的issue 分页不能点的问题

This commit is contained in:
huang 2016-12-16 20:58:53 +08:00
parent 7d31f5c7d4
commit de86584850
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@
</li>
<li class="c_grey">
<% if !activity.assigned_to_id.nil? && activity.assigned_to_id != 0 %>
<% if activity.try(:assigned_to).try(:realname).empty? %>
<% if activity.try(:assigned_to).try(:realname).blank? %>
<%= link_to activity.assigned_to, user_path(activity.assigned_to_id)%>
<% else %>
<%= link_to activity.try(:assigned_to).try(:realname), user_path(activity.assigned_to_id)%>