Sha256: aa9cbc003d34a1bdef910da64dc63da0b86366a5ad7d9261cc5e9e7b686b0327

Contents?: true

Size: 1.1 KB

Versions: 13

Compression:

Stored size: 1.1 KB

Contents

require File.expand_path('../boot', __FILE__)

# Pick the frameworks you want:
require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "sprockets/railtie"
# require "rails/test_unit/railtie"

Bundler.require(*Rails.groups)
require "awesome_translations"

module Dummy
  class Application < Rails::Application
    # 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('config', 'locales', '**', '*.{rb,yml}').to_s]
    config.i18n.available_locales = [:da, :de, :en]
    config.i18n.default_locale = :en
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
awesome_translations-0.0.15 spec/dummy/config/application.rb
awesome_translations-0.0.14 spec/dummy/config/application.rb
awesome_translations-0.0.13 spec/dummy/config/application.rb
awesome_translations-0.0.12 spec/dummy/config/application.rb
awesome_translations-0.0.10 spec/dummy/config/application.rb
awesome_translations-0.0.9 spec/dummy/config/application.rb
awesome_translations-0.0.8 spec/dummy/config/application.rb
awesome_translations-0.0.7 spec/dummy/config/application.rb
awesome_translations-0.0.6 spec/dummy/config/application.rb
awesome_translations-0.0.5 spec/dummy/config/application.rb
awesome_translations-0.0.4 spec/dummy/config/application.rb
awesome_translations-0.0.3 spec/dummy/config/application.rb
awesome_translations-0.0.2 spec/dummy/config/application.rb