Sha256: cb868938e28658fd454730a440b624e07cbbf70380b1234f48d830c4046a861c
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
# frozen_string_literal: true 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 Occams class Application < Rails::Application require_relative "../lib/occams" config.load_defaults 5.2 # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers # -- all .rb files in that directory are automatically loaded. # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. # config.time_zone = 'Central Time (US & Canada)' # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.default_locale = :de # Ensuring that all ActiveStorage routes are loaded before out globbing route. config.railties_order = [ActiveStorage::Engine, :main_app, :all] # Making sure we don't load our dev routes as part of the engine config.paths["config/routes.rb"] << "config/cms_routes.rb" config.i18n.enforce_available_locales = true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
occams-1.0.1 | config/application.rb |