aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-03-03 17:19:42 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-03-03 17:19:42 -0300
commit44ff0313c121f528a68b3bd21d6c7a96f313e3d3 (patch)
treee66e09302e6b90a81df49ebf13a42e03199575d8 /actionpack/CHANGELOG.md
parentb0edabf3be07f841781bc0b1743c401e666d2952 (diff)
parent6c14252d2cc28b97ba708971a3ad235537bcdf02 (diff)
downloadrails-44ff0313c121f528a68b3bd21d6c7a96f313e3d3.tar.gz
rails-44ff0313c121f528a68b3bd21d6c7a96f313e3d3.tar.bz2
rails-44ff0313c121f528a68b3bd21d6c7a96f313e3d3.zip
Merge pull request #18775 from yasyf/issue_5122
Fallback to RAILS_RELATIVE_URL_ROOT in `url_for`
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r--actionpack/CHANGELOG.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index 8c4ba2a154..3343a92bf7 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,3 +1,13 @@
+* Fallback to `ENV['RAILS_RELATIVE_URL_ROOT']` in `url_for`.
+
+ Fixed an issue where the `RAILS_RELATIVE_URL_ROOT` environment variable is not
+ prepended to the path when `url_for` is called. If `SCRIPT_NAME` (used by Rack)
+ is set, it takes precedence.
+
+ Fixes #5122.
+
+ *Yasyf Mohamedali*
+
* Partitioning of routes is now done when the routes are being drawn. This
helps to decrease the time spent filtering the routes during the first request.