diff options
author | jomo <github@jomo.tv> | 2016-01-18 00:23:39 +0100 |
---|---|---|
committer | jomo <github@jomo.tv> | 2016-01-18 00:23:39 +0100 |
commit | 1ed36f21294f18026c3a6d3e29b9ec3a76674200 (patch) | |
tree | 90d7e86da885304078683b961964e004ccccd223 /config | |
parent | 69c0037cf6510b1dbb7717dff6ceab2884c9073b (diff) |
changes for rails 5
Diffstat (limited to 'config')
-rw-r--r-- | config/environments/production.rb | 4 | ||||
-rw-r--r-- | config/environments/test.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 2c4c3e7..257ea31 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -9,7 +9,7 @@ Redstoner::Application.configure do config.action_controller.perform_caching = true # Disable Rails's static asset server (Apache or nginx will already do this) - config.serve_static_assets = false + config.serve_static_files = false # Compress JavaScripts and CSS config.assets.compress = true @@ -35,7 +35,7 @@ Redstoner::Application.configure do # config.force_ssl = true # See everything in the log (default is :info) - # config.log_level = :debug + config.log_level = :info # Prepend all log lines with the following tags # config.log_tags = [ :subdomain, :uuid ] diff --git a/config/environments/test.rb b/config/environments/test.rb index fadfd19..b6605f1 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -8,7 +8,7 @@ Redstoner::Application.configure do config.cache_classes = true # Configure static asset server for tests with Cache-Control for performance - config.serve_static_assets = true + config.serve_static_files = true config.static_cache_control = "public, max-age=3600" # Log error messages when you accidentally call methods on nil |