Sha256: 727d5ae1e3ccf2160c43e7acfc0a697ece5bb3b49bb64cbb0f6b993427c84359
Contents?: true
Size: 1.55 KB
Versions: 3
Compression:
Stored size: 1.55 KB
Contents
require File.expand_path('../boot', __FILE__) require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) ENV.update YAML.load_file('config/application.yml')[Rails.env] rescue {} module LannisterWebsite 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)' config.autoload_paths += %W(#{config.root}/app/models/concerns) # 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.i18n.enforce_available_locales = false config.i18n.fallbacks = true Time::DATE_FORMATS[:aus] = '%l:%M %p on %d %B %Y' Date::DATE_FORMATS[:aus] = '%d %B %Y' Time::DATE_FORMATS[:zh] = '%l:%M %p on %d %B %Y' Date::DATE_FORMATS[:zh] = '%d %B %Y' config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}').to_s] config.i18n.default_locale = 'en' config.assets.precompile += %w( ckeditor/* ) end end
Version data entries
3 entries across 3 versions & 1 rubygems