Sha256: 5ed0c3351a38c92980b3c376fe8d3400bbbf25fd268ebf82eeafc9a6d0717a7c
Contents?: true
Size: 389 Bytes
Versions: 2
Compression:
Stored size: 389 Bytes
Contents
# -*- encoding : utf-8 -*- require 'phrase' require 'i18n' if defined? Rails class Phrase::Engine < Rails::Engine initializer 'phrase', :after => :disable_dependency_loading do |app| if Phrase.enabled? require 'phrase/adapters/i18n' require 'phrase/adapters/fast_gettext' end ActionView::Base.send :include, Phrase::ViewHelpers end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phrase-0.4.33 | lib/phrase/engine.rb |
phrase-0.4.32 | lib/phrase/engine.rb |