Skip to content

Commit

Permalink
Remove relative url root setting from ENV var
Browse files Browse the repository at this point in the history
This is already being set by Rails configuration.
  • Loading branch information
carlosantoniodasilva committed Jan 17, 2012
1 parent 71566c3 commit 4970048
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions actionpack/lib/action_controller/metal/compatibility.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4970048

Please sign in to comment.