Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove relative url root setting from ENV var

This is already being set by Rails configuration.
  • Loading branch information...
commit 497004858de24e21dc67f8a9bd3a30b8ce951b92 1 parent 71566c3
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 actionpack/lib/action_controller/metal/compatibility.rb
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"
Please sign in to comment.
Something went wrong with that request. Please try again.