summaryrefslogtreecommitdiff
path: root/config/environments
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-11-26 15:48:01 +0200
committerValery Sizov <valery@gitlab.com>2015-11-26 17:03:43 +0200
commit7f214cee74796ceaf7b01bd6e133d4d54c5123db (patch)
treecefc7a17adadbee1a9d349f4f5843d63290482a7 /config/environments
parent3e0fe27627f5b074a35ce2e1a0794f869f8abc15 (diff)
downloadgitlab-ce-7f214cee74796ceaf7b01bd6e133d4d54c5123db.tar.gz
Migrate mailers to ActiveJob
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb2
-rw-r--r--config/environments/test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index e8250d66452..317b113e100 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -9,7 +9,7 @@ Rails.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.js_compressor = :uglifier
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 46982be2864..2eddf0605d2 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -8,7 +8,7 @@ Rails.application.configure do
config.cache_classes = false
# 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"
# Show full error reports and disable caching