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

3 months ago
11 months ago
10 months ago
11 months ago
3 months ago
11 months ago
3 months ago
11 months ago
11 months ago
10 months ago
11 months ago
  1. require_relative 'boot'
  2. require_relative 'command_detection'
  3. require 'rails/all'
  4. # Require the gems listed in Gemfile, including any gems
  5. # you've limited to :test, :development, or :production.
  6. Bundler.require(*Rails.groups)
  7. # Module name provides the main application title, ie: config.application_title defined below
  8. module EasyGoingRails
  9. # Main Application
  10. class Application < Rails::Application
  11. include CommandDetection
  12. # Initialize configuration defaults for originally generated Rails version.
  13. config.load_defaults 7.2
  14. # ignoring monkey_patches because MonkeyPatcher would carry out
  15. config.autoload_lib(ignore: %w[assets tasks monkey_patches])
  16. # main application title defined from current module name, see module above
  17. config.application_title = module_parent.to_s.titleize
  18. end
  19. end