Sha256: 3766f0a21f775e88bbb069f17424f108d2ffd42a30d6b2f92fa084ab41fa2276

Contents?: true

Size: 277 Bytes

Versions: 3

Compression:

Stored size: 277 Bytes

Contents

require 'rails/railtie'

module ActionWidget
  module Extensions
    module Rails
      class Railtie < ::Rails::Railtie
        initializer "action_widget.helper" do
          ActionView::Base.send(:include, ::ActionWidget::ViewHelper)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
action_widget-0.8.0 lib/action_widget/extensions/rails/railtie.rb
action_widget-0.7.0 lib/action_widget/extensions/rails/railtie.rb
action_widget-0.6.1 lib/action_widget/extensions/rails/railtie.rb