This commit is contained in:
parent
98bd46ceb4
commit
65e6444272
|
@ -16,7 +16,7 @@ module Redmine
|
||||||
def initialize(url, root_url=nil, login=nil, password=nil, path_encoding=nil)
|
def initialize(url, root_url=nil, login=nil, password=nil, path_encoding=nil)
|
||||||
super
|
super
|
||||||
@g = Gitlab.client
|
@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
|
@path_encoding = path_encoding.blank? ? 'UTF-8' : path_encoding
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue