diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-01-06 18:12:37 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-01-06 18:12:37 +0100 |
commit | b93d0bf68c25d266c6106e09bafbfd565296b76a (patch) | |
tree | 13b07414ab6b45bbe87e2d2cdbc944e7158e0a45 /config/application.rb | |
parent | 9c22d9e8978b836da2fdaa3bd3d05fcff0124b91 (diff) | |
download | hmnoweb-b93d0bf68c25d266c6106e09bafbfd565296b76a.tar.gz hmnoweb-b93d0bf68c25d266c6106e09bafbfd565296b76a.tar.bz2 hmnoweb-b93d0bf68c25d266c6106e09bafbfd565296b76a.zip |
Allways pick up relative url for asset prefix.
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index 7006797..d3de916 100644 --- a/config/application.rb +++ b/config/application.rb @@ -64,5 +64,7 @@ module BetaWebApp # Version of your assets, change this if you want to expire all your assets config.assets.version = '1.0' + + config.assets.prefix = "#{ENV['RAILS_RELATIVE_URL_ROOT']}/asserts" end end |