Config uglifier
This commit is contained in:
parent
b8f7e56aa9
commit
7c12582387
@ -25,8 +25,9 @@ Rails.application.configure do
|
|||||||
config.serve_static_assets = false
|
config.serve_static_assets = false
|
||||||
|
|
||||||
# Compress JavaScripts and CSS.
|
# Compress JavaScripts and CSS.
|
||||||
config.assets.js_compressor = Uglifier.new(:harmony => true)
|
config.assets.js_compressor = :uglifier
|
||||||
# config.assets.css_compressor = :sass
|
# config.assets.css_compressor = :sass
|
||||||
|
|
||||||
|
|
||||||
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
||||||
config.assets.compile = false
|
config.assets.compile = false
|
||||||
@ -57,6 +58,7 @@ Rails.application.configure do
|
|||||||
# Use a different cache store in production.
|
# Use a different cache store in production.
|
||||||
# config.cache_store = :mem_cache_store
|
# config.cache_store = :mem_cache_store
|
||||||
|
|
||||||
|
config.action_mailer.perform_caching = false
|
||||||
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
||||||
# config.action_controller.asset_host = "http://assets.example.com"
|
# config.action_controller.asset_host = "http://assets.example.com"
|
||||||
|
|
||||||
@ -72,21 +74,6 @@ Rails.application.configure do
|
|||||||
# Send deprecation notices to registered listeners.
|
# Send deprecation notices to registered listeners.
|
||||||
config.active_support.deprecation = :notify
|
config.active_support.deprecation = :notify
|
||||||
|
|
||||||
config.action_mailer.smtp_settings = {
|
|
||||||
address: 'smtp.gmail.com',
|
|
||||||
port: 587,
|
|
||||||
domain: Rails.application.secrets.domain_name,
|
|
||||||
authentication: 'plain',
|
|
||||||
enable_starttls_auto: true,
|
|
||||||
user_name: Rails.application.secrets.email_provider_username,
|
|
||||||
password: Rails.application.secrets.email_provider_password
|
|
||||||
}
|
|
||||||
# ActionMailer Config
|
|
||||||
config.action_mailer.default_url_options = { host: Rails.application.secrets.domain_name }
|
|
||||||
config.action_mailer.delivery_method = :smtp
|
|
||||||
config.action_mailer.perform_deliveries = true
|
|
||||||
config.action_mailer.raise_delivery_errors = false
|
|
||||||
|
|
||||||
# Disable automatic flushing of the log to improve performance.
|
# Disable automatic flushing of the log to improve performance.
|
||||||
# config.autoflush_log = false
|
# config.autoflush_log = false
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user