2024-05-26 10:45:10 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2024-04-13 10:22:40 +00:00
|
|
|
require_relative "boot"
|
|
|
|
|
|
|
|
require "rails/all"
|
|
|
|
|
|
|
|
# Require the gems listed in Gemfile, including any gems
|
|
|
|
# you've limited to :test, :development, or :production.
|
|
|
|
Bundler.require(*Rails.groups)
|
|
|
|
|
2024-05-26 08:06:27 +00:00
|
|
|
module TabletopCompanion
|
2024-04-13 10:22:40 +00:00
|
|
|
class Application < Rails::Application
|
|
|
|
config.load_defaults 7.1
|
|
|
|
|
|
|
|
# Please, add to the `ignore` list any other `lib` subdirectories that do
|
|
|
|
# not contain `.rb` files, or that should not be reloaded or eager loaded.
|
|
|
|
# Common ones are `templates`, `generators`, or `middleware`, for example.
|
2024-04-14 10:48:42 +00:00
|
|
|
config.autoload_lib(ignore: %w[assets tasks])
|
2024-04-13 10:22:40 +00:00
|
|
|
|
2024-05-30 07:28:37 +00:00
|
|
|
config.time_zone = "London"
|
|
|
|
|
|
|
|
config.mission_control.jobs.base_controller_class = "AdminController"
|
2024-04-13 10:22:40 +00:00
|
|
|
end
|
|
|
|
end
|