|
|
@ -5,20 +5,15 @@ Velocipede::Application.configure do |
|
|
|
config.cache_classes = true |
|
|
|
|
|
|
|
# Full error reports are disabled and caching is turned on |
|
|
|
config.consider_all_requests_local = false |
|
|
|
config.consider_all_requests_local = true |
|
|
|
config.action_controller.perform_caching = true |
|
|
|
|
|
|
|
# Disable Rails's static asset server (Apache or nginx will already do this) |
|
|
|
config.serve_static_assets = false |
|
|
|
config.serve_static_assets = true |
|
|
|
|
|
|
|
# Compress JavaScripts and CSS |
|
|
|
config.assets.compress = true |
|
|
|
|
|
|
|
# Don't fallback to assets pipeline if a precompiled asset is missed |
|
|
|
config.assets.compile = false |
|
|
|
|
|
|
|
# Generate digests for assets URLs |
|
|
|
config.assets.digest = true |
|
|
|
config.assets.compress = false |
|
|
|
config.assets.debug = true |
|
|
|
|
|
|
|
# Defaults to Rails.root.join("public/assets") |
|
|
|
# config.assets.manifest = YOUR_PATH |
|
|
@ -45,9 +40,6 @@ Velocipede::Application.configure do |
|
|
|
# Enable serving of images, stylesheets, and JavaScripts from an asset server |
|
|
|
# config.action_controller.asset_host = "http://assets.example.com" |
|
|
|
|
|
|
|
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) |
|
|
|
# config.assets.precompile += %w( search.js ) |
|
|
|
|
|
|
|
# TODO set to host |
|
|
|
# Disable delivery errors, bad email addresses will be ignored |
|
|
|
# config.action_mailer.raise_delivery_errors = false |
|
|
|