Sha256: 3b31c0913b6ad465f49f862ddf77376185d090efa99b4a20dec3fb195e793855

Contents?: true

Size: 251 Bytes

Versions: 1

Compression:

Stored size: 251 Bytes

Contents

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

require 'phrase'
require 'i18n'

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phrase-0.1.4 lib/phrase/engine.rb