mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
update CHANGELOG
This commit is contained in:
parent
80e90b0bd0
commit
1ea072f88c
1 changed files with 16 additions and 0 deletions
|
@ -1,6 +1,22 @@
|
||||||
|
* pass app config to controller helper proxy
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
# config/application.rb
|
||||||
|
config.asset_host = 'http://mycdn.com'
|
||||||
|
|
||||||
|
# Somewhere else
|
||||||
|
ActionController::Base.helpers.asset_path('fallback.png')
|
||||||
|
# => http://mycdn.com/assets/fallback.png
|
||||||
|
|
||||||
|
Fixes #10051
|
||||||
|
|
||||||
|
*Tima Maslyuchenko*
|
||||||
|
|
||||||
* Respect `SCRIPT_NAME` when using `redirect` with a relative path
|
* Respect `SCRIPT_NAME` when using `redirect` with a relative path
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
# application routes.rb
|
# application routes.rb
|
||||||
mount BlogEngine => '/blog'
|
mount BlogEngine => '/blog'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue