25 lines
884 B
Ruby
25 lines
884 B
Ruby
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)
|
|
|
|
module Moodie
|
|
class Application < Rails::Application
|
|
# Initialize configuration defaults for originally generated Rails version.
|
|
config.load_defaults 8.0
|
|
|
|
# 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])
|
|
|
|
# config.time_zone = "Central Time (US & Canada)"
|
|
config.time_zone = "Europe/Paris"
|
|
config.i18n.default_locale = :fr
|
|
I18n.available_locales = [ :fr, :en ]
|
|
# config.eager_load_paths << Rails.root.join("extras")
|
|
end
|
|
end
|