rails/actionpack/lib
Tima Maslyuchenko 719f1d68e4 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
2013-10-24 08:03:31 +03:00
..
abstract_controller Make AC standalone rendering work 2013-09-10 11:01:12 -03:00
action_controller pass app config to controller helper proxy 2013-10-24 08:03:31 +03:00
action_dispatch Correct error in Utils.normalize_path that changed paths improperly 2013-10-23 16:44:23 -05:00
action_pack rails/master is now 4.1.0.beta 2013-04-29 13:15:24 -03:00
abstract_controller.rb No need for .rb extension 2013-08-25 11:39:09 +02:00
action_controller.rb Remove BasicRendering tests 2013-09-09 16:10:41 -03:00
action_dispatch.rb Remove extra whitespace 2013-04-06 00:54:44 +03:00
action_pack.rb Updated copyright notices for 2013 2012-12-31 20:35:29 +00:00