blob: 534981c1168e322b8635f6e66c33c5b411081d66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
require_relative 'boot'
require 'rails/all'
# TODO Not sure if these are best here
require 'govuk_admin_template'
require 'plek'
require 'web_console' if ENV['RAILS_ENV'] == 'development'
require 'with_advisory_lock'
module GovukMiniEnvironmentAdmin
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 5.1
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
config.autoload_paths << "#{Rails.root}/lib"
config.active_record.schema_format = :sql
end
end
|