|
|
@ -125,7 +125,7 @@ module ProjectsHelper
|
|
|
|
# 获取新项目的版本库地址
|
|
|
|
# 获取新项目的版本库地址
|
|
|
|
def rep_gitlab_url(project)
|
|
|
|
def rep_gitlab_url(project)
|
|
|
|
gitlab_address = Redmine::Configuration['gitlab_address']
|
|
|
|
gitlab_address = Redmine::Configuration['gitlab_address']
|
|
|
|
url = gitlab_address.to_s+"/"+project.owner.to_s+"/"+project.identifier+"."+"git"
|
|
|
|
url = gitlab_address.to_s+"/"+project.owner.to_s+"/"+ rep_gitlab(project).first.identifier+"."+"git"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
# # 获取Forge历史版本库
|
|
|
|
# # 获取Forge历史版本库
|
|
|
|