修复未登陆用户进入学校主页列表出错的问题
This commit is contained in:
parent
fd1f3b45c9
commit
7acf73c4ca
|
@ -71,7 +71,7 @@
|
|||
<p>
|
||||
|
||||
<%= link_to "全部学校",school_index_path %>
|
||||
<%= link_to '我的学校',school_course_list_path(User.current.user_extensions.school) %>
|
||||
<%= link_to '我的学校',school_course_list_path(User.current.user_extensions.school) if User.current.logged? %>
|
||||
</p>
|
||||
<ul>
|
||||
<li style="width: 40%; float: left">请选择省份:
|
||||
|
|
Loading…
Reference in New Issue