|
|
@ -66,7 +66,7 @@ module ApplicationHelper
|
|
|
|
name = shixun.status == 0 ? "模拟实战" : "开启挑战"
|
|
|
|
name = shixun.status == 0 ? "模拟实战" : "开启挑战"
|
|
|
|
url = "/shixuns/#{shixun.identifier}/shixun_exec"
|
|
|
|
url = "/shixuns/#{shixun.identifier}/shixun_exec"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
identifier = current_myshixun.current_task(current_myshixun.games)
|
|
|
|
identifier = current_myshixun.current_task(current_myshixun.games).try(:identifier)
|
|
|
|
if current_myshixun.status == 1
|
|
|
|
if current_myshixun.status == 1
|
|
|
|
name = "查看实战"
|
|
|
|
name = "查看实战"
|
|
|
|
else
|
|
|
|
else
|
|
|
|