首页取消、添加关注不可用

This commit is contained in:
cxt 2016-10-19 20:03:34 +08:00
parent 9c1630b682
commit 35caacf067
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<li class="cl"></li>
<% else%>
<li style="width: 119px; float: left; border-right: 1px solid #ddd;">
<% if @user.base_homepage.nil? %>
<% if target.base_homepage.nil? %>
<a href="javascript:void(0)" class ="user_editinfo" style="color: #cccccc" title="该用户暂未设置主页">主页</a>
<% else %>
<%=link_to "主页", homepage_user_path(@user), :class => 'user_editinfo', :target => '_blank' %>