From 425e2bb11ea76d27cd056b8cb65565cd816a2ed6 Mon Sep 17 00:00:00 2001 From: z9hang Date: Fri, 9 May 2014 14:18:38 +0800 Subject: [PATCH] =?UTF-8?q?course=E7=BD=91=E7=AB=99=E4=B8=AD=E6=9C=AA?= =?UTF-8?q?=E9=80=89=E5=AD=A6=E6=A0=A1=EF=BC=8C=E6=9C=89=E7=99=BB=E9=99=86?= =?UTF-8?q?=E7=94=A8=E6=88=B7=EF=BC=8C=E4=B8=94=E7=99=BB=E9=99=86=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=B7=B2=E5=A1=AB=E5=AD=A6=E6=A0=A1=E6=97=B6=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/welcome/course.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/welcome/course.html.erb b/app/views/welcome/course.html.erb index f2ae619d8..40df3d077 100644 --- a/app/views/welcome/course.html.erb +++ b/app/views/welcome/course.html.erb @@ -30,10 +30,10 @@ <% if params[:school_id] == "0" %> <% else %> <% if params[:school_id].nil? %> - <%= School.find(User.current.user_extensions.school.id).name %> + <%= link_to School.find(User.current.user_extensions.school.id).name, options={:action => 'course',:school_id => User.current.user_extensions.school.id}, html_options={:class => 'font_welcome_school',:method => 'get'}%>
<% else %> - <%= link_to School.find(params[:school_id]).name,options={:action => 'course',:school_id => params[:school_id]}, html_options={:class => 'font_welcome_school',:method => 'get'}%> + <%= link_to School.find(params[:school_id]).name ,options={:action => 'course',:school_id => params[:school_id]}, html_options={:class => 'font_welcome_school',:method => 'get'}%>
<% end %> <% end %>