diff options
| author | Luc Donnet | 2015-05-27 09:03:34 +0200 | 
|---|---|---|
| committer | Luc Donnet | 2015-05-27 09:03:34 +0200 | 
| commit | 24b55185bff779764f9b6e7c576ccb73568bae2f (patch) | |
| tree | e3ab0b2b4cbe81e42aa23edd035595237565c4d2 /config | |
| parent | 307483cf4b2d70d9bbbe5e3fe8dc3359ffa7e095 (diff) | |
| download | chouette-core-24b55185bff779764f9b6e7c576ccb73568bae2f.tar.bz2 | |
Add suburi for controller and assets and disable digest
Diffstat (limited to 'config')
| -rw-r--r-- | config/environments/production.rb | 9 | 
1 files changed, 7 insertions, 2 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 2154e1788..6c5b89685 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -9,7 +9,9 @@ Rails.application.configure do    # Full error reports are disabled and caching is turned on.    config.consider_all_requests_local       = false    config.action_controller.perform_caching = true -  #config.action_controller.relative_url_root = "/chouette2" + +  # Must add sub uri for controllers. +  # config.action_controller.relative_url_root = "/chouette2"    # Enable Rack::Cache to put a simple HTTP cache in front of your application    # Add `rack-cache` to your Gemfile before enabling this. @@ -27,7 +29,10 @@ Rails.application.configure do    config.assets.compile = false    # Generate digests for assets URLs. -  config.assets.digest = true +  config.assets.digest = false + +  # Must add sub uri for assets. Same as config.action_controller.relative_url_root +  # config.assets.prefix = "/chouette2"    # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb  | 
