Sha256: 13131f0493a01395b0b2a3dee499a79c5341b31cac10e589832f03b736104281
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
require File.expand_path('../boot', __FILE__) require 'rails/all' Bundler.require(*Rails.groups) require 'translatable_routes' 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('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.default_locale = :de config.translatable_routes.selection = :subdomain config.translatable_routes.mapping = { en: :us, es: [:uy, :ar] } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translatable_routes-1.2.0 | test/dummy/config/application.rb |