|
|
|
@ -109,7 +109,7 @@ class ShixunsController < ApplicationController
|
|
|
|
|
can_fork = current_user.is_certification_teacher || current_user.admin?
|
|
|
|
|
unless can_fork
|
|
|
|
|
@can_fork = {can_fork: "已经职业认证的教师才能fork实训",
|
|
|
|
|
certi_url: "/account/professional_certification"}
|
|
|
|
|
certi_url: "/account/certification"}
|
|
|
|
|
end
|
|
|
|
|
@current_myshixun = @shixun.current_myshixun(current_user)
|
|
|
|
|
if @shixun.fork_from
|
|
|
|
|