blob: b78dfdab0a1c651e401af8e764767eae23658968 (
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
|
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'
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
|