diff --git a/app/views/welcome/course.html.erb b/app/views/welcome/course.html.erb index 624bd01d..cfde8fca 100644 --- a/app/views/welcome/course.html.erb +++ b/app/views/welcome/course.html.erb @@ -87,9 +87,11 @@
- 该学校未开设任何课程,您可以查看其他学校课程 -
+ <% if User.current.logged? %> ++ 该学校未开设任何课程,您可以查看其他学校课程 +
+ <% end %> <% find_all_new_hot_course(9, @school_id).map do |course| %>