竞赛的题目下拉选项,点击无法进入正确的页面
This commit is contained in:
parent
3d30a11f66
commit
68ade87e59
|
@ -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%>
|
||||
|
|
Loading…
Reference in New Issue