From 603010c30a967de4507cc875f6d01cde5f333571 Mon Sep 17 00:00:00 2001 From: yanxd Date: Wed, 14 May 2014 11:22:59 +0800 Subject: [PATCH] remove map --- app/views/welcome/course.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/welcome/course.html.erb b/app/views/welcome/course.html.erb index 005f53710..eef2401f8 100644 --- a/app/views/welcome/course.html.erb +++ b/app/views/welcome/course.html.erb @@ -60,7 +60,7 @@

新开课程

- <% if(find_miracle_course(10, 7,params[:school_id]).map.count == 0) %> + <% if(find_miracle_course(10, 7,params[:school_id]).count == 0) %> <%= link_to "更多>>", {:controller => 'projects', :action => 'course', :project_type => 1, :school_id => nil} %>