1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- Huginn::Application.configure do
-
-
- config.cache_classes = true
-
-
-
-
- config.eager_load = true
-
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
-
-
-
-
- config.serve_static_assets = false
-
- config.assets.js_compressor = :uglifier
- config.assets.css_compressor = :sass
-
- config.assets.compile = false
-
- config.assets.digest = true
- config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
-
- config.assets.precompile += %w(*.woff *.eot *.svg *.ttf)
-
-
-
-
- config.force_ssl = ENV['FORCE_SSL'].present? && ENV['FORCE_SSL'] == 'true' ? true : false
-
-
-
- config.log_tags = [ :uuid ]
-
-
-
-
-
- if ENV['ASSET_HOST'].present?
- config.action_controller.asset_host = ENV['ASSET_HOST']
- end
-
- config.assets.precompile += %w( diagram.js graphing.js map_marker.js user_credentials.js )
-
-
-
-
-
- config.i18n.fallbacks = true
-
- config.active_support.deprecation = :notify
-
-
-
- config.log_formatter = ::Logger::Formatter.new
-
- config.active_record.dump_schema_after_migration = false
- config.action_mailer.default_url_options = { :host => ENV['DOMAIN'] }
- config.action_mailer.asset_host = ENV['DOMAIN']
- if ENV['ASSET_HOST']
- config.action_mailer.asset_host = ENV['ASSET_HOST']
- end
- config.action_mailer.perform_deliveries = true
- config.action_mailer.raise_delivery_errors = true
- config.action_mailer.delivery_method = :smtp
-
- end
|