ぼざクリタグ広場 https://hub.nizika.monster
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.
 
 
 
 
 
 

36 lines
1.3 KiB

  1. require_relative "boot"
  2. require "rails/all"
  3. # Require the gems listed in Gemfile, including any gems
  4. # you've limited to :test, :development, or :production.
  5. Bundler.require(*Rails.groups)
  6. module Backend
  7. class Application < Rails::Application
  8. # Initialize configuration defaults for originally generated Rails version.
  9. config.load_defaults 8.0
  10. config.i18n.available_locales = [:ja, :en]
  11. config.i18n.default_locale = :ja
  12. # Please, add to the `ignore` list any other `lib` subdirectories that do
  13. # not contain `.rb` files, or that should not be reloaded or eager loaded.
  14. # Common ones are `templates`, `generators`, or `middleware`, for example.
  15. config.autoload_lib(ignore: %w[assets tasks])
  16. # Configuration for the application, engines, and railties goes here.
  17. #
  18. # These settings can be overridden in specific environments using the files
  19. # in config/environments, which are processed later.
  20. #
  21. # config.time_zone = "Central Time (US & Canada)"
  22. # config.eager_load_paths << Rails.root.join("extras")
  23. # Only loads a smaller set of middleware suitable for API only apps.
  24. # Middleware like session, flash, cookies can be added back manually.
  25. # Skip views, helpers and assets when generating a new resource.
  26. config.api_only = true
  27. end
  28. end