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.4.0 lib/phrase/engine.rb
phrase-0.3.7 lib/phrase/engine.rb
phrase-0.3.6 lib/phrase/engine.rb
phrase-0.3.5 lib/phrase/engine.rb
phrase-0.3.4 lib/phrase/engine.rb
phrase-0.3.3 lib/phrase/engine.rb
phrase-0.3.2 lib/phrase/engine.rb
phrase-0.3.1 lib/phrase/engine.rb
phrase-0.3.0 lib/phrase/engine.rb
phrase-0.2.5 lib/phrase/engine.rb
phrase-0.2.4 lib/phrase/engine.rb
phrase-0.2.3 lib/phrase/engine.rb
phrase-0.2.2 lib/phrase/engine.rb
phrase-0.2.1 lib/phrase/engine.rb
phrase-0.2.0 lib/phrase/engine.rb
phrase-0.2.0.beta.8 lib/phrase/engine.rb
phrase-0.2.0.beta.7 lib/phrase/engine.rb
phrase-0.2.0.beta.6 lib/phrase/engine.rb
phrase-0.2.0.beta.5 lib/phrase/engine.rb
phrase-0.2.0.beta.4 lib/phrase/engine.rb