Sha256: daae45d566d7c4b2fe96ed536c56b6a41c270cbd66c1a020ff3ba5ffdcc6886f

Contents?: true

Size: 1.16 KB

Versions: 76

Compression:

Stored size: 1.16 KB

Contents

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

require 'rails/all'

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

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.time_zone = 'Brasilia'

    config.i18n.default_locale = 'pt-BR'
    I18n.enforce_available_locales = false
    I18n.default_locale = 'pt-BR'
    
    config.to_prepare do
      Devise::SessionsController.layout "login"
    end
    config.active_record.observers = :reference_observer
  end
end

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
templus_models-3.0.21 test/dummy/config/application.rb
templus_models-3.0.20 test/dummy/config/application.rb
templus_models-3.0.19 test/dummy/config/application.rb
templus_models-3.0.17 test/dummy/config/application.rb
templus_models-2.0.16 test/dummy/config/application.rb
templus_models-1.6.9 test/dummy/config/application.rb
templus_models-2.0.15 test/dummy/config/application.rb
templus_models-3.0.14 test/dummy/config/application.rb
templus_models-2.0.14 test/dummy/config/application.rb
templus_models-2.0.12 test/dummy/config/application.rb
templus_models-3.0.13 test/dummy/config/application.rb
templus_models-3.0.12 test/dummy/config/application.rb
templus_models-2.0.11 test/dummy/config/application.rb
templus_models-2.0.9 test/dummy/config/application.rb
templus_models-2.0.8 test/dummy/config/application.rb
templus_models-3.0.10 test/dummy/config/application.rb
templus_models-1.6.8 test/dummy/config/application.rb
templus_models-1.6.7 test/dummy/config/application.rb
templus_models-3.0.9 test/dummy/config/application.rb
templus_models-2.0.7 test/dummy/config/application.rb