From 26d75af51a4d38c3545e418f6cbcef4743e1ab91 Mon Sep 17 00:00:00 2001 From: yanxd Date: Fri, 15 Nov 2013 11:23:28 +0800 Subject: [PATCH] fix homework uri error ,after joined xxx_show.html.erb. --- app/views/layouts/base_courses.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/base_courses.html.erb b/app/views/layouts/base_courses.html.erb index 7bcb78ad5..7de1f5e48 100644 --- a/app/views/layouts/base_courses.html.erb +++ b/app/views/layouts/base_courses.html.erb @@ -213,7 +213,7 @@ <%= link_to l(:label_course_overview), project_path(@project), :class => link_class(:overview) %>
  • - <%= link_to l(:label_homework), {:controller => 'projects', :action => 'homework'}, :class => link_class('Task')%> + <%= link_to l(:label_homework), homework_project_path(@project), :class => link_class('Task')%>
  • <%= link_to l(:label_course_board), { :controller => 'boards', :action => 'index', :project_id => @project}, :class => link_class(:boards) %>