Access Asset Path from Rails Controller Access Asset Path from Rails Controller ruby-on-rails ruby-on-rails

Access Asset Path from Rails Controller


ActionController::Base.helpers.asset_path("configuration.yml")

Might also be good to put configuration.yml in a different folder to separate javascript from non-javascript files.