12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- Huginn::Application.configure do
-
-
- config.cache_classes = true
-
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- config.serve_static_assets = false
-
- config.assets.compress = true
-
- config.assets.compile = false
-
- config.assets.digest = true
-
-
-
-
-
-
- config.force_ssl = true
-
-
-
- config.log_tags = [ :uuid ]
-
-
-
-
-
-
-
- config.assets.precompile += %w( graphing.js )
-
-
-
-
- config.i18n.fallbacks = true
-
- config.active_support.deprecation = :notify
-
-
-
- config.action_mailer.default_url_options = { :host => ENV['DOMAIN'] }
- config.action_mailer.asset_host = ENV['DOMAIN']
- config.action_mailer.perform_deliveries = true
- config.action_mailer.raise_delivery_errors = true
- config.action_mailer.delivery_method = :smtp
- config.action_mailer.smtp_settings = {
- address: ENV['SMTP_SERVER'] || 'smtp.gmail.com',
- port: ENV['SMTP_PORT'] || 587,
- domain: ENV['SMTP_DOMAIN'],
- authentication: ENV['SMTP_AUTHENTICATION'] || 'plain',
- enable_starttls_auto: ENV['SMTP_ENABLE_STARTTLS_AUTO'] == 'true' ? true : false,
- user_name: ENV['SMTP_USER_NAME'],
- password: ENV['SMTP_PASSWORD']
- }
- end
|