竞赛的题目下拉选项,点击无法进入正确的页面

This commit is contained in:
cxt 2016-12-27 10:27:28 +08:00
parent 3d30a11f66
commit 68ade87e59
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@
<ul>
<% hcommons.each_with_index do |homework_common,index |%>
<li class="pr10">
<%= link_to "题目#{hcommons.count - index}#{homework_common.name}",student_work_index_path(:homework => homework_common.id)%>
<%= link_to "题目#{hcommons.count - index}#{homework_common.name}",contestant_works_path(:work => homework_common.id)%>
<%#= link_to "第#{@homework_commons.count - index}次作业",student_work_index_path(:homework => homework_common.id)%>
</li>
<% end%>