Sha256: f764d3c0280f1d5b688335e6064b793d12ce54965f83e72cd8c965fcfeeb4711

Contents?: true

Size: 227 Bytes

Versions: 22

Compression:

Stored size: 227 Bytes

Contents

# -*- encoding : utf-8 -*-

require 'phrase'
require 'i18n'

if defined? Rails
  class Phrase::Engine < Rails::Engine
    initializer 'phrase' do |app|
      ActionView::Base.send :include, Phrase::ViewHelpers
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
phrase-0.2.0.beta.3 lib/phrase/engine.rb
phrase-0.2.0.beta.2 lib/phrase/engine.rb