Sha256: bbe9cd4adfc55bce855abf23e64f1cd25570c262168c6ef1536d5f61a70a3008

Contents?: true

Size: 302 Bytes

Versions: 4

Compression:

Stored size: 302 Bytes

Contents

require 'i18n_rails_helpers'
require 'contextual_link_helpers'
require 'rails'

module I18nRailsHelpers
  class Railtie < Rails::Engine
    initializer :after_initialize do
      ActionController::Base.helper I18nRailsHelpers
      ActionController::Base.helper ContextualLinkHelpers
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
i18n_rails_helpers-0.10.0 lib/i18n_rails_helpers/railtie.rb
i18n_rails_helpers-0.9.2 lib/i18n_rails_helpers/railtie.rb
i18n_rails_helpers-0.9.1 lib/i18n_rails_helpers/railtie.rb
i18n_rails_helpers-0.9.0 lib/i18n_rails_helpers/railtie.rb