fix homework uri error ,after joined xxx_show.html.erb.

This commit is contained in:
yanxd 2013-11-15 11:23:28 +08:00
parent a9ec58f245
commit 26d75af51a
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@
<%= link_to l(:label_course_overview), project_path(@project), :class => link_class(:overview) %>
</li>
<li>
<%= 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')%>
</li>
<li>
<%= link_to l(:label_course_board), { :controller => 'boards', :action => 'index', :project_id => @project}, :class => link_class(:boards) %>