From 71b17cd98e009a290108558cc9aa6c7ce7e3dab6 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Fri, 4 Jul 2014 14:47:38 +0800 Subject: [PATCH] 1 --- app/views/bids/_homework_list.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/bids/_homework_list.html.erb b/app/views/bids/_homework_list.html.erb index 705040579..9f6b45dbd 100644 --- a/app/views/bids/_homework_list.html.erb +++ b/app/views/bids/_homework_list.html.erb @@ -1,6 +1,6 @@ <% is_student = is_cur_course_student(@bid.courses.first) %> -<% is_teacher = is_course_teacher User.current,@bid.courses.first %> +<% is_teacher = is_course_teacher(User.current,@bid.courses.first) %> <% is_evaluation = @bid.is_evaluation == 1 || @bid.is_evaluation == nil %> <%= form_tag(:controller => 'bids', :action => "show_courseEx", :method => :get) do %> @@ -21,7 +21,6 @@ <% end %> -