diff --git a/app/views/layouts/base_homework.html.erb b/app/views/layouts/base_homework.html.erb index 7c40173a0..aeddb84bf 100644 --- a/app/views/layouts/base_homework.html.erb +++ b/app/views/layouts/base_homework.html.erb @@ -60,7 +60,7 @@

<%= link_to "主页", home_path %> > - <%= link_to l(:label_course_practice), :controller => 'courses', :action => 'index' %> + <%=l(:label_course_practice) %> > <%= link_to(course.name.to_s, homework_course_path(course)) if course %>