Sha256: c1c283384cf2f78ac932d868e2d6455fb2470ed481d1c1e597c752ace71655a9

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

require 'hat_trick/form_helper'

module HatTrick
  class Engine < ::Rails::Engine
    # just defining this causes Rails to look for assets inside this gem

    initializer 'hat-trick.form_helpers' do
      ActiveSupport.on_load(:action_view) do
        include HatTrick::FormHelper
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hat-trick-0.1.2 lib/hat_trick/engine.rb
hat-trick-0.1.1 lib/hat_trick/engine.rb
hat-trick-0.1.0 lib/hat_trick/engine.rb