Fix git-over-http

This commit is contained in:
Dmitriy Zaporozhets 2015-02-23 10:05:18 -08:00
parent 9459e9db24
commit d723bf78b8
1 changed files with 1 additions and 0 deletions

View File

@ -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