Sha256: 5b33b94fb562fb036db743867c49d4f0ba040eeac47c6a03d5f8a91c92c88ea4

Contents?: true

Size: 301 Bytes

Versions: 5

Compression:

Stored size: 301 Bytes

Contents

require 'rails'

module I18nRailsHelpers
  class Engine < Rails::Engine
    initializer 'i18n_rails_helpers.helper' do
      ActionView::Base.send :include, I18nHelpers
      ActionView::Base.send :include, ContextualLinkHelpers
      ActionView::Base.send :include, ListLinkHelpers
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
i18n_rails_helpers-2.0.1 lib/i18n_rails_helpers/engine.rb
i18n_rails_helpers-2.0.0 lib/i18n_rails_helpers/engine.rb
i18n_rails_helpers-2.0.0.beta2 lib/i18n_rails_helpers/engine.rb
i18n_rails_helpers-2.0.0.beta1 lib/i18n_rails_helpers/engine.rb
i18n_rails_helpers-2.0.0.beta0 lib/i18n_rails_helpers/engine.rb