Fix git-over-http
This commit is contained in:
parent
9459e9db24
commit
d723bf78b8
|
@ -149,6 +149,7 @@ module Grack
|
|||
path_with_namespace = m.last
|
||||
path_with_namespace.gsub!(/\.wiki$/, '')
|
||||
|
||||
path_with_namespace[0] = '' if path_with_namespace.start_with?('/')
|
||||
Project.find_with_namespace(path_with_namespace)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue