aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/flash.rb
diff options
context:
space:
mode:
authorTima Maslyuchenko <insside@gmail.com>2013-10-24 07:54:20 +0300
committerTima Maslyuchenko <insside@gmail.com>2013-10-24 08:03:31 +0300
commit719f1d68e4945332f71dc8ad93141780e60929b5 (patch)
tree48e03cefab7b9bc5d2a95b322caf6dd59757baac /actionpack/lib/action_controller/metal/flash.rb
parent783527fd877c491cf5f2f563ee42d5bc19e1b78b (diff)
downloadrails-719f1d68e4945332f71dc8ad93141780e60929b5.tar.gz
rails-719f1d68e4945332f71dc8ad93141780e60929b5.tar.bz2
rails-719f1d68e4945332f71dc8ad93141780e60929b5.zip
pass app config to controller helper proxy
After this fix application config become available when calling helper outisde of view config/application.rb #... config.asset_host = 'http://mycdn.com' #... Somewhere else ActionController::Base.helpers.asset_path('fallback.png') # => http://mycdn.com/assets/fallback.png
Diffstat (limited to 'actionpack/lib/action_controller/metal/flash.rb')
0 files changed, 0 insertions, 0 deletions