解决个别user点击个人主页项目500问题

This commit is contained in:
huang 2016-12-30 15:14:52 +08:00
parent 2c7e7bed0b
commit d9b6294883
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<div class="homepagePostReplyPublisher"> <div class="homepagePostReplyPublisher">
<%= link_to comment.creator_user.show_name, user_url_in_org(comment.creator_user), :class => "newsBlue mr10 f14" %> <%= link_to comment.creator_user.show_name, user_path(comment.creator_user), :class => "newsBlue mr10 f14" %>
<%= time_from_now(comment.respond_to?(:created_on) ? comment.created_on : comment.created_at) %> <%= time_from_now(comment.respond_to?(:created_on) ? comment.created_on : comment.created_at) %>
</div> </div>
<% if !comment.parent.nil? && !comment.parent.parent.nil? %> <% if !comment.parent.nil? && !comment.parent.parent.nil? %>