|
|
@ -53,9 +53,4 @@ module GitHelper
|
|
|
|
container.update_attributes!(:repo_name => new_repo_name)
|
|
|
|
container.update_attributes!(:repo_name => new_repo_name)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
#实训题的关卡url初始化
|
|
|
|
|
|
|
|
def challenge_path(path)
|
|
|
|
|
|
|
|
cha_path = path.present? ? path.split(";") : []
|
|
|
|
|
|
|
|
cha_path.reject(&:blank?)[0].try(:strip)
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|