You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
829 B
24 lines
829 B
require_relative 'boot'
|
|
require_relative 'command_detection'
|
|
require 'rails/all'
|
|
|
|
# Require the gems listed in Gemfile, including any gems
|
|
# you've limited to :test, :development, or :production.
|
|
Bundler.require(*Rails.groups)
|
|
|
|
# Module name provides the main application title, ie: config.application_title defined below
|
|
module EasyGoingRails
|
|
# Main Application
|
|
class Application < Rails::Application
|
|
include CommandDetection
|
|
|
|
# Initialize configuration defaults for originally generated Rails version.
|
|
config.load_defaults 7.2
|
|
|
|
# ignoring monkey_patches because MonkeyPatcher would carry out
|
|
config.autoload_lib(ignore: %w[assets tasks monkey_patches])
|
|
|
|
# main application title defined from current module name, see module above
|
|
config.application_title = module_parent.to_s.titleize
|
|
end
|
|
end
|