1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

update CHANGELOG

This commit is contained in:
Tima Maslyuchenko 2013-10-24 10:46:57 +03:00
parent 80e90b0bd0
commit 1ea072f88c

View file

@ -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
Example:
# application routes.rb
mount BlogEngine => '/blog'