Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #12624 from timsly/master

update CHANGELOG
  • Loading branch information...
commit e337789563e5bdfddd6ea0fe21cb99d868501183 2 parents 3e5bb86 + 1ea072f
Rafael Mendonça França rafaelfranca authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 actionpack/CHANGELOG.md
16 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'
Please sign in to comment.
Something went wrong with that request. Please try again.