Permalink
Browse files

Remove relative url root setting from ENV var

This is already being set by Rails configuration.
  • Loading branch information...
1 parent 71566c3 commit 497004858de24e21dc67f8a9bd3a30b8ce951b92 @carlosantoniodasilva carlosantoniodasilva committed Jan 15, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 actionpack/lib/action_controller/metal/compatibility.rb
@@ -4,10 +4,6 @@ module Compatibility
# 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

0 comments on commit 4970048

Please sign in to comment.