diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index b18d0c706..d21eb48a9 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -2366,6 +2366,8 @@ module ApplicationHelper end end end + else + link_to "提交(#{homework.student_works.count})",student_work_index_path(:homework => homework.id),:class => "c_blue" end end diff --git a/app/views/users/_course_homework.html.erb b/app/views/users/_course_homework.html.erb index 31502c081..2d3bc68de 100644 --- a/app/views/users/_course_homework.html.erb +++ b/app/views/users/_course_homework.html.erb @@ -24,12 +24,10 @@ 匿评已结束 <% end%>