mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-02-21 20:20:34 +09:00
21 lines
641 B
Ruby
21 lines
641 B
Ruby
require_relative "boot"
|
|
|
|
require "rails/all"
|
|
|
|
Bundler.require(*Rails.groups)
|
|
|
|
module Campfire
|
|
class Application < Rails::Application
|
|
# Initialize configuration defaults for originally generated Rails version.
|
|
config.load_defaults 8.2
|
|
|
|
# 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.
|
|
config.autoload_lib(ignore: %w[assets tasks rails_ext])
|
|
|
|
# Fallback to English if translation key is missing
|
|
config.i18n.fallbacks = true
|
|
end
|
|
end
|