This commit is contained in:
guange 2015-10-18 21:31:00 +08:00
parent 98bd46ceb4
commit 65e6444272
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ module Redmine
def initialize(url, root_url=nil, login=nil, password=nil, path_encoding=nil)
super
@g = Gitlab.client
@project = Project.find_by_url(url).gpid
@project = Repository.find_by_url(url).project.gpid
@path_encoding = path_encoding.blank? ? 'UTF-8' : path_encoding
end