Permalink
Browse files

Merge pull request #12624 from timsly/master

update CHANGELOG
  • Loading branch information...
2 parents 3e5bb86 + 1ea072f commit e337789563e5bdfddd6ea0fe21cb99d868501183 @rafaelfranca rafaelfranca committed Oct 24, 2013
Showing with 16 additions and 0 deletions.
  1. +16 −0 actionpack/CHANGELOG.md
View
@@ -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'

0 comments on commit e337789

Please sign in to comment.