修改路径

This commit is contained in:
huang 2015-11-02 20:41:01 +08:00
parent edf9b4a6b5
commit 4cd41e0a67
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ module ProjectsHelper
# 获取新项目的版本库地址
def rep_gitlab_url(project)
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
# # 获取Forge历史版本库