提交 6ac677fd 编写于 作者: R Rafael Mendonça França

Improve the CHANGELOG entry [ci skip]

上级 e3377895
* pass app config to controller helper proxy
* Make assets helpers work in the controllers like it works in the views.
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
Fixes #10051.
*Tima Maslyuchenko*
* Respect `SCRIPT_NAME` when using `redirect` with a relative path
Example:
# application routes.rb
mount BlogEngine => '/blog'
......@@ -28,7 +27,7 @@
the path. It also allows redirects to work where the application is deployed to a
subdirectory of a website.
Fixes #7977
Fixes #7977.
*Andrew White*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册