123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- require File.expand_path('../boot', __FILE__)
- require 'rails/all'
- Bundler.require(:default, Rails.env)
- Dotenv.overload File.expand_path('../../spec/env.test', __FILE__) if Rails.env.test?
- module Huginn
- class Application < Rails::Application
-
-
-
-
- config.autoload_paths += %W(#{config.root}/lib #{config.root}/app/presenters)
-
-
-
-
- config.time_zone = ENV['TIMEZONE'].presence || "Pacific Time (US & Canada)"
-
-
-
-
- config.encoding = "utf-8"
-
- config.filter_parameters += [:password]
-
- config.active_support.escape_html_entities_in_json = true
-
-
-
-
-
-
-
-
- config.active_record.whitelist_attributes = true
-
- config.assets.enabled = true
- config.assets.initialize_on_precompile = false
- end
- end
|