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 %>