aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-11-30 19:59:33 +0100
committerHarald Eilertsen <haraldei@anduin.net>2018-11-30 19:59:33 +0100
commit7a35c5efadf0e1d6ec91dcc023cac5712139da14 (patch)
treeebdf5c00dfa74ab87c8724397e9bfa5611efb9f4
parent92c111e05d045891ec5a37d847e8144559cbdf72 (diff)
downloadhmnoweb-7a35c5efadf0e1d6ec91dcc023cac5712139da14.tar.gz
hmnoweb-7a35c5efadf0e1d6ec91dcc023cac5712139da14.tar.bz2
hmnoweb-7a35c5efadf0e1d6ec91dcc023cac5712139da14.zip
Don't fall back to compiling assets in staging.
This makes staging behave like production, so that we discover issues with missing precompiled assets before prod.
-rw-r--r--config/environments/staging.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/staging.rb b/config/environments/staging.rb
index 65c0e3c..c852a5c 100644
--- a/config/environments/staging.rb
+++ b/config/environments/staging.rb
@@ -15,7 +15,7 @@ BetaWebApp::Application.configure do
config.assets.compress = true
# Don't fallback to assets pipeline if a precompiled asset is missed
- config.assets.compile = true
+ config.assets.compile = false
# Generate digests for assets URLs
config.assets.digest = true