From 497004858de24e21dc67f8a9bd3a30b8ce951b92 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Sun, 15 Jan 2012 09:48:17 -0200 Subject: Remove relative url root setting from ENV var This is already being set by Rails configuration. --- actionpack/lib/action_controller/metal/compatibility.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/actionpack/lib/action_controller/metal/compatibility.rb b/actionpack/lib/action_controller/metal/compatibility.rb index 45e9df6563..1c205d7c02 100644 --- a/actionpack/lib/action_controller/metal/compatibility.rb +++ b/actionpack/lib/action_controller/metal/compatibility.rb @@ -4,10 +4,6 @@ module ActionController # Temporary hax included do - # ROUTES TODO: This should be handled by a middleware and route generation - # should be able to handle SCRIPT_NAME - self.config.relative_url_root = ENV['RAILS_RELATIVE_URL_ROOT'] - class << self delegate :default_charset=, :to => "ActionDispatch::Response" end -- cgit v1.2.3