From 42503fa6c60d733fc8b410e0fdefad8d80ba9f43 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 11 Nov 2016 13:55:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E5=A4=A7=E7=BA=B2=E4=B8=AD?= =?UTF-8?q?=E7=94=A8=E6=88=B7url=E7=9A=84id=E6=94=B9=E6=88=90login?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_news_contents.html.erb | 2 +- app/views/users/_news_replies.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/_news_contents.html.erb b/app/views/users/_news_contents.html.erb index 8b07de887..7897abe83 100644 --- a/app/views/users/_news_contents.html.erb +++ b/app/views/users/_news_contents.html.erb @@ -1,5 +1,5 @@
- <%= link_to comment.creator_user.show_name, user_url_in_org(comment.creator_user.id), :class => "newsBlue mr10 f14" %> + <%= link_to comment.creator_user.show_name, user_url_in_org(comment.creator_user), :class => "newsBlue mr10 f14" %> <%= time_from_now(comment.respond_to?(:created_on) ? comment.created_on : comment.created_at) %>
<% if !comment.parent.nil? %> diff --git a/app/views/users/_news_replies.html.erb b/app/views/users/_news_replies.html.erb index 0b5464946..50a2e192b 100644 --- a/app/views/users/_news_replies.html.erb +++ b/app/views/users/_news_replies.html.erb @@ -8,7 +8,7 @@
  • - <%= link_to image_tag(url_to_avatar(comment.creator_user), :width => 33, :height => 33, :alt => "用户头像"), user_url_in_org(comment.creator_user.id) %> + <%= link_to image_tag(url_to_avatar(comment.creator_user), :width => 33, :height => 33, :alt => "用户头像"), user_url_in_org(comment.creator_user) %>
    <%= render :partial => 'users/news_contents', :locals => {:comment => comment}%>