diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/application.rb | 2 | ||||
-rw-r--r-- | config/environments/prodtest.rb | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/config/environments/prodtest.rb b/config/environments/prodtest.rb index 0bcf9e2..e39ab27 100644 --- a/config/environments/prodtest.rb +++ b/config/environments/prodtest.rb @@ -25,8 +25,6 @@ BetaWebApp::Application.configure do # Defaults to nil and saved in location specified by config.assets.prefix # config.assets.manifest = YOUR_PATH - config.assets.prefix = '/beta/assets' - # Specifies the header that your server uses for sending files # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx |