Sha256: bfa90588b4874049408449bdd1b7c1a0f41348ff64b1999ce53c49610be0975b
Contents?: true
Size: 1.36 KB
Versions: 3
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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
occams-1.0.4 | config/application.rb |
occams-1.0.3 | config/application.rb |
occams-1.0.2 | config/application.rb |