未登录时取消显示我的学校按钮

This commit is contained in:
sw 2014-07-11 13:41:05 +08:00
parent 4f2298fd22
commit 9472a7eb5c
1 changed files with 3 additions and 1 deletions

View File

@ -71,7 +71,9 @@
<p>
<%= link_to "全部学校",school_index_path %>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<% if User.current.logged? %>
<a href="http://course.trustie.net">我的学校</a>
<% end %>
</p>
<ul>
<li style="width: 40%; float: left">请选择省份: