Sha256: f57edef70bcb37c66a07d12f59c387d77a0c6b6740902c8584e49f29effe8692

Contents?: true

Size: 1.38 KB

Versions: 5

Compression:

Stored size: 1.38 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 Meetalendar
  class Application < Rails::Application

    require_relative "../lib/meetalendar"

    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/meetalendar_routes.rb"

    config.i18n.enforce_available_locales = true
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
meetalendar-0.1.0 config/application.rb
meetalendar-0.0.4 config/application.rb
meetalendar-0.0.3 config/application.rb
meetalendar-0.0.2 config/application.rb
meetalendar-0.0.1 config/application.rb