From 845186a600117e19ed6b73ac09217ad15c3e1aa2 Mon Sep 17 00:00:00 2001 From: yanxd Date: Fri, 9 May 2014 14:27:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E8=AF=BE=E7=A8=8B=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E5=AD=A6=E6=A0=A1=E4=BF=A1=E6=81=AF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=EF=BC=8C=E6=98=BE=E7=A4=BA=E8=80=81=E5=B8=88?= =?UTF-8?q?=E8=BA=AB=E4=BB=BD=E4=B8=AD=E7=9A=84=E5=AD=A6=E6=A0=A1=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/projects/_course.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/projects/_course.html.erb b/app/views/projects/_course.html.erb index d65df0530..58168c999 100644 --- a/app/views/projects/_course.html.erb +++ b/app/views/projects/_course.html.erb @@ -17,9 +17,9 @@ <% @admin = @project.project_infos%> <%if @admin&&@admin.first&&@admin.first.user&&@admin.first.user.user_extensions%> - <% unless @project.course_extra.school.nil? %> - <%= @project.course_extra.school.name %> - <% end %> + <%# unless @project.course_extra.school.nil? %> + <%= @project.course_extra.teacher.user_extensions.school.try(:name) %> + <%# end %> <% end %>