Commit d723bf78 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix git-over-http

parent 9459e9db
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment