Sha256: fe065e78a03ba8eb481f5be2ff74d0494e68d1553bcf7b49ae583805d7f7d4f9

Contents?: true

Size: 312 Bytes

Versions: 2

Compression:

Stored size: 312 Bytes

Contents

require 'view_component_helper/view_helper'
module ViewComponentHelper
  class Engine < ::Rails::Engine
    isolate_namespace ViewComponentHelper
    initializer 'view_component_helper.action_view_helpers' do
      ActiveSupport.on_load(:action_view) { include ViewComponentHelper::ViewHelper }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
view_component_helper-0.2.0 lib/view_component_helper/engine.rb
view_component_helper-0.1.0 lib/view_component_helper/engine.rb