diff options
Diffstat (limited to 'config/environments')
| -rw-r--r-- | config/environments/development.rb | 2 | ||||
| -rw-r--r-- | config/environments/test.rb | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index 8e2e7ef..43a6846 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb | |||
| @@ -4,7 +4,7 @@ Cccms::Application.configure do | |||
| 4 | # In the development environment your application's code is reloaded on | 4 | # In the development environment your application's code is reloaded on |
| 5 | # every request. This slows down response time but is perfect for development | 5 | # every request. This slows down response time but is perfect for development |
| 6 | # since you don't have to restart the webserver when you make code changes. | 6 | # since you don't have to restart the webserver when you make code changes. |
| 7 | config.cache_classes = false | 7 | config.enable_reloading = true |
| 8 | 8 | ||
| 9 | # Log error messages when you accidentally call methods on nil. | 9 | # Log error messages when you accidentally call methods on nil. |
| 10 | 10 | ||
diff --git a/config/environments/test.rb b/config/environments/test.rb index a23c6d4..48aafe8 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | Cccms::Application.configure do | 1 | Cccms::Application.configure do |
| 2 | 2 | ||
| 3 | config.cache_classes = true | 3 | config.enable_reloading = false |
| 4 | 4 | ||
| 5 | config.action_controller.consider_all_requests_local = true | 5 | config.action_controller.consider_all_requests_local = true |
| 6 | config.action_controller.perform_caching = false | 6 | config.action_controller.perform_caching = false |
| @@ -10,10 +10,8 @@ Cccms::Application.configure do | |||
| 10 | config.action_mailer.delivery_method = :test | 10 | config.action_mailer.delivery_method = :test |
| 11 | 11 | ||
| 12 | config.active_support.deprecation = :log | 12 | config.active_support.deprecation = :log |
| 13 | config.active_support.test_order = :sorted | ||
| 14 | 13 | ||
| 15 | config.eager_load = false | 14 | config.eager_load = false |
| 16 | config.public_file_server.enabled = true | 15 | config.public_file_server.enabled = true |
| 17 | config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' } | 16 | config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' } |
| 18 | config.assets.compile = true | ||
| 19 | end | 17 | end |
