From 6ac677fd871a81fa4760e611bbe700b4ba6a1a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Thu, 24 Oct 2013 14:43:07 -0200 Subject: Improve the CHANGELOG entry [ci skip] --- actionpack/CHANGELOG.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'actionpack/CHANGELOG.md') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 0aeda7274a..838e9fcbfb 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,22 +1,21 @@ -* 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* -- cgit v1.2.3