|
|
|
@ -263,7 +263,7 @@ update
|
|
|
|
|
@course_tag = params[:course]
|
|
|
|
|
project_path_cut = RepositoriesHelper::PROJECT_PATH_CUT
|
|
|
|
|
ip = RepositoriesHelper::REPO_IP_ADDRESS
|
|
|
|
|
gitlab_address = RepositoriesHelper::REPO_GITLAB_ADDRESS
|
|
|
|
|
gitlab_address = Redmine::Configuration['gitlab_address']
|
|
|
|
|
if @repository.type.to_s=="Repository::Gitlab"
|
|
|
|
|
@repos_url = "http://"+gitlab_address.to_s+"/"+@project.owner.to_s+"/"+@repository.identifier+"."+"git"
|
|
|
|
|
else
|
|
|
|
|