Commit 726b9162bb22afdcb776fce049e8b21e8f5448b4

Authored by Tim Vandecasteele
1 parent e1594d83
Exists in master and in 1 other branch production

apps.show.js was not precompiled

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
config/environments/production.rb
... ... @@ -28,6 +28,9 @@ Errbit::Application.configure do
28 28 # Use a different cache store in production
29 29 # config.cache_store = :mem_cache_store
30 30  
  31 + # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
  32 + config.assets.precompile += %w( apps.show.js )
  33 +
31 34 # Disable Rails's static asset server
32 35 # In production, Apache or nginx will already do this
33 36 config.serve_static_assets = false
... ...