Sha256: c720ff8da2bac6ae428c1ab46e44737cbfe77f65be1762972b149b5298bdf719

Contents?: true

Size: 278 Bytes

Versions: 1

Compression:

Stored size: 278 Bytes

Contents

require "poke_js/version"
require "poke_js/view_helpers"

module PokeJs
  if defined?(Rails) && defined?(Rails::Engine)
    class Engine < ::Rails::Engine
      initializer "poke_js.view_helpers" do
        ActionView::Base.send :include, ViewHelpers
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
poke_js-0.1.0 lib/poke_js.rb