fix homework uri error ,after joined xxx_show.html.erb.
This commit is contained in:
parent
a9ec58f245
commit
26d75af51a
|
@ -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) %>
|
||||
|
|
Loading…
Reference in New Issue