From b490a97852e671a8bb11bbf26023fa764dd67f31 Mon Sep 17 00:00:00 2001 From: Godwin Date: Mon, 28 Oct 2013 23:30:42 -0600 Subject: [PATCH] Attempt #6 --- config/environments/production.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index d57694f..a746423 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -45,7 +45,7 @@ Starterapp::Application.configure do # Set to :debug to see everything in the log. config.log_level = :info - config.cache_classes = true + config.cache_classes = true config.serve_static_assets = true config.assets.compile = true config.assets.digest = true @@ -65,6 +65,7 @@ Starterapp::Application.configure do # Precompile additional assets. # application.js, application.css, and all non-JS/CSS in app/assets folder are already added. # config.assets.precompile += %w( search.js ) + config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif) # Ignore bad email addresses and do not raise email delivery errors. # Set this to true and configure the email server for immediate delivery to raise delivery errors.