Sha256: 33ebf9d9c2cf5d6960f537214430d6a3ac313034970ebefc91cf60bb1c07c043
Contents?: true
Size: 648 Bytes
Versions: 1
Compression:
Stored size: 648 Bytes
Contents
require 'flash_messenger/messenger' module FlashMessenger class Engine < ::Rails::Engine isolate_namespace ::FlashMessenger config.generators do |g| g.test_framework :rspec, :fixture => false g.fixture_replacement :factory_girl, :dir => 'spec/factories' g.assets false g.helper false end initializer 'flash_messenger.default_locale' do |app| app.config.tap do |c| default_locale = \ c.try(:flash_messenger).try(:default_locale) || c.try(:i18n).try(:default_locale) || :en ::FlashMessenger::DEFAULT_LOCALE = default_locale end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flash_messenger-0.1.0 | lib/flash_messenger/engine.rb |