diff --git a/app/views/welcome/course.html.erb b/app/views/welcome/course.html.erb index eebf2d2e6..b2e9f8eb6 100644 --- a/app/views/welcome/course.html.erb +++ b/app/views/welcome/course.html.erb @@ -90,10 +90,10 @@ <% month_now = Time.now.strftime("%m").to_i %> - <% year_now = Time.new.strftime("%Y") %> + <% year_now = 2014 %> <% (month_now >= 3 && month_now < 9) ? course_term = "春季学期" : course_term = "秋季学期" %> - <% @school_id.nil? ? cur_school_course = [] : cur_school_course = find_miracle_course(10,7,@school_id, 2014, course_term) %> + <% @school_id.nil? ? cur_school_course = [] : cur_school_course = find_miracle_course(10,7,@school_id, year_now, course_term) %> <% if cur_school_course.count == 0 %>