aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments/development.rb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-09-02 21:47:25 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-09-02 21:47:25 +0200
commitaed1ccac95072ef3bacfc2563800db39609bef9d (patch)
tree9287d0f304595d79843bfb13a5fca5a496aec1b4 /config/environments/development.rb
parent5ccb7d40c8669c7fa3833eb1f2aa9fbae80b6ace (diff)
downloadhmnoweb-aed1ccac95072ef3bacfc2563800db39609bef9d.tar.gz
hmnoweb-aed1ccac95072ef3bacfc2563800db39609bef9d.tar.bz2
hmnoweb-aed1ccac95072ef3bacfc2563800db39609bef9d.zip
Precompile assets and check them into vc.deploy-20180902
Since we disabled asset compilation in production, we need to precompile them on the development machine. We check the precompiled assets into version control so the will be deployed with the updated code.
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r--config/environments/development.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 42ce578..0d7c1ae 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -34,4 +34,5 @@ BetaWebApp::Application.configure do
# Expands the lines which load the assets
config.assets.debug = true
+ config.assets.prefix = '/dev-assets'
end