diff options
| author | Rosemary Sanchez <rsanchez@madebyuppercut.com> | 2013-07-23 13:26:47 -0600 |
|---|---|---|
| committer | Rosemary Sanchez <rsanchez@madebyuppercut.com> | 2013-07-23 13:26:47 -0600 |
| commit | ba5936a6789ed9d8ec29b466f8461a0178d75997 (patch) | |
| tree | eaf087295b2903e6ba64b6ae24aab65090c14935 /config/environments | |
| parent | 575abdb430e6c6e89cdfa860f1f574f25aa56e2a (diff) | |
Config changes to have site work on Heroku.
Diffstat (limited to 'config/environments')
| -rw-r--r-- | config/environments/production.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 3fa1b86..4d43431 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -20,14 +20,17 @@ Parley::Application.configure do # config.action_dispatch.rack_cache = true # Disable Rails's static asset server (Apache or nginx will already do this). - config.serve_static_assets = false + config.serve_static_assets = true + + # Enable the asset pipeline + config.assets.enabled = true # Compress JavaScripts and CSS. config.assets.js_compressor = :uglifier # config.assets.css_compressor = :sass # Do not fallback to assets pipeline if a precompiled asset is missed. - config.assets.compile = false + config.assets.compile = true # Generate digests for assets URLs. config.assets.digest = true |
