12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- 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_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- 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'] == 'true'
-
- config.log_level = :info
-
- 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 ace.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
|