提交 49700485 编写于 作者: C Carlos Antonio da Silva

Remove relative url root setting from ENV var

This is already being set by Rails configuration.
上级 71566c35
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册