Browse Source

A small fix

development
Godwin 11 years ago
parent
commit
1794adaf98
  1. 4
      config/environments/production.rb

4
config/environments/production.rb

@ -46,7 +46,7 @@ BikeBike::Application.configure do
config.log_level = :info
config.cache_classes = true
#config.serve_static_assets = true
config.serve_static_assets = true
config.assets.compile = true
# config.assets.digest = true
@ -65,7 +65,7 @@ BikeBike::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)
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif *.css)
# 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.

Loading…
Cancel
Save