用户个人主页姓名添加url

This commit is contained in:
huang 2016-11-10 11:11:14 +08:00
parent 3dcd38a059
commit ec39b2d52c
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@
<% end %>
<div class="user_info_inner">
<div class=" user_leftinfo_namebox" >
<a href="javascript:void(0);" class="user_leftinfo_name"><%=@user.show_name %></a>
<%= link_to @user.show_name, user_path(@user), :class => "user_leftinfo_name" %>
<% if @user.user_extensions && @user.user_extensions.identity %>
<span class="user_cirbtn_yellow" ><%= get_user_roll @user %></span>
<% end%>