Browse Source

Attempt #6

development
Godwin 11 years ago
parent
commit
b490a97852
  1. 3
      config/environments/production.rb

3
config/environments/production.rb

@ -45,7 +45,7 @@ Starterapp::Application.configure do
# Set to :debug to see everything in the log. # Set to :debug to see everything in the log.
config.log_level = :info config.log_level = :info
config.cache_classes = true config.cache_classes = true
config.serve_static_assets = true config.serve_static_assets = true
config.assets.compile = true config.assets.compile = true
config.assets.digest = true config.assets.digest = true
@ -65,6 +65,7 @@ Starterapp::Application.configure do
# Precompile additional assets. # Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added. # 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( search.js )
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
# Ignore bad email addresses and do not raise email delivery errors. # 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. # Set this to true and configure the email server for immediate delivery to raise delivery errors.

Loading…
Cancel
Save