|
|
|
@ -174,7 +174,7 @@ module StudentWorkHelper
|
|
|
|
|
if homework.homework_type == 4
|
|
|
|
|
myshixun = Myshixun.find work.myshixun_id
|
|
|
|
|
# is_modify = ShixunModify.where(:myshixun_id => myshixun.try(:id), :shixun_id => myshixun.shixun.try(:id), :status => 1).first
|
|
|
|
|
link_to "继续实战", shixun_exec_shixun_path(myshixun.shixun), :class => "white-btn orange-btn fr mr10 mt8", :target => "_blank"
|
|
|
|
|
link_to "继续实战", shixun_path(myshixun.shixun), :class => "white-btn orange-btn fr mr10 mt8", :target => "_blank"
|
|
|
|
|
# if myshixun && is_modify.blank?
|
|
|
|
|
# link_to "继续实战", myshixun_game_path(myshixun.current_task, :myshixun_id => myshixun), :class => "white-btn orange-btn fr mr10 mt8", :target => "_blank"
|
|
|
|
|
# elsif myshixun
|
|
|
|
|