Sha256: ffab685c2f7f5f6a5cbc65b82b80d4b892fb0f7631e812b9f86999a9f7717818

Contents?: true

Size: 322 Bytes

Versions: 10

Compression:

Stored size: 322 Bytes

Contents

require File.join(File.dirname(__FILE__), 'action_view_extension')
module I18nline
  class Railtie < Rails::Railtie
    initializer "i18nline.configure_rails_initialization" do
      ActiveSupport.on_load(:action_view) do
        ::ActionView::Base.send :include, I18nline::ActionViewExtension
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
i18nline-0.0.11.alpha lib/i18nline/railtie.rb
i18nline-0.0.10.alpha lib/i18nline/railtie.rb
i18nline-0.0.8.alpha lib/i18nline/railtie.rb
i18nline-0.0.7.alpha lib/i18nline/railtie.rb
i18nline-0.0.6.alpha lib/i18nline/railtie.rb
i18nline-rails-0.0.5.alpha lib/i18nline/railtie.rb
i18nline-0.0.5.alpha lib/i18nline/railtie.rb
i18nline-0.0.4.alpha lib/i18nline/railtie.rb
i18nline-0.0.3.alpha lib/i18nline/railtie.rb
i18nline-0.0.2.alpha lib/i18nline/railtie.rb