summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Frohoff <chris@frohoff.org>2012-12-28 18:11:28 +0000
committerChris Frohoff <chris@frohoff.org>2012-12-28 18:11:28 +0000
commit21e55ca318bb829399c85b10e678b596d6fd414e (patch)
treed3029235bcc15ef06a9489df40b79b280be1397f /lib
parente9394c48ca7aacd9d151519c1da51d18a21b351b (diff)
downloadgitlab-ce-21e55ca318bb829399c85b10e678b596d6fd414e.tar.gz
added RAILS_RELATIVE_URL_ROOT support
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/backend/grack_auth.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gitlab/backend/grack_auth.rb b/lib/gitlab/backend/grack_auth.rb
index 7c31117f01d..cfad532a06c 100644
--- a/lib/gitlab/backend/grack_auth.rb
+++ b/lib/gitlab/backend/grack_auth.rb
@@ -17,10 +17,6 @@ module Grack
# Pass Gitolite update hook
ENV['GL_BYPASS_UPDATE_HOOK'] = "true"
- # Need this patch due to the rails mount
- @env['PATH_INFO'] = @request.path
- @env['SCRIPT_NAME'] = ""
-
# Find project by PATH_INFO from env
if m = /^\/([\w\.\/-]+)\.git/.match(@request.path_info).to_a
self.project = Project.find_with_namespace(m.last)