123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- 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
|