lib/action_controller/railtie.rb in actionpack-3.1.12 vs lib/action_controller/railtie.rb in actionpack-3.2.0.rc1
- old
+ new
@@ -27,9 +27,10 @@
options.page_cache_directory ||= paths["public"].first
# make sure readers methods get compiled
options.asset_path ||= app.config.asset_path
options.asset_host ||= app.config.asset_host
+ options.relative_url_root ||= app.config.relative_url_root
ActiveSupport.on_load(:action_controller) do
include app.routes.mounted_helpers
extend ::AbstractController::Railties::RoutesHelpers.with(app.routes)
extend ::ActionController::Railties::Paths.with(app)