修改路径

tmp v20151102_06
huang 10 years ago
parent edf9b4a6b5
commit 4cd41e0a67

@ -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历史版本库

Loading…
Cancel
Save