未登录时取消显示我的学校按钮
This commit is contained in:
parent
4f2298fd22
commit
9472a7eb5c
|
@ -71,7 +71,9 @@
|
|||
<p>
|
||||
|
||||
<%= link_to "全部学校",school_index_path %>
|
||||
<a href="http://course.trustie.net">我的学校</a>
|
||||
<% if User.current.logged? %>
|
||||
<a href="http://course.trustie.net">我的学校</a>
|
||||
<% end %>
|
||||
</p>
|
||||
<ul>
|
||||
<li style="width: 40%; float: left">请选择省份:
|
||||
|
|
Loading…
Reference in New Issue