Sha256: 1ea861d642fda8db79bc2e1c23b9d87643a8cd218774911679f974094dfc3b1a
Contents?: true
Size: 317 Bytes
Versions: 1
Compression:
Stored size: 317 Bytes
Contents
module Searchjoy class Engine < ::Rails::Engine isolate_namespace Searchjoy initializer "searchjoy" do |app| # use a proc instead of a string app.config.assets.precompile << proc { |path| path == "searchjoy.js" } Searchjoy.attach_to_searchkick! if defined?(Searchkick) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
searchjoy-0.4.1 | lib/searchjoy/engine.rb |