Sha256: e1313df33742f95c199dd98cc65c8df73b4618a13bd632139ed8faa90301c3da

Contents?: true

Size: 445 Bytes

Versions: 5

Compression:

Stored size: 445 Bytes

Contents

module Trestle
  module Search
    class Engine < ::Rails::Engine
      config.assets.precompile << "trestle/search.css"

      config.to_prepare do
        Trestle::ResourceController.send(:prepend, Trestle::Search::Controller)
      end

      initializer :extensions do
        Trestle::Resource.send(:include, Trestle::Search::Resource)
        Trestle::Resource::Builder.send(:include, Trestle::Search::Builder)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trestle-search-0.5.1 lib/trestle/search/engine.rb
trestle-search-0.5.0 lib/trestle/search/engine.rb
trestle-search-0.5.0.pre lib/trestle/search/engine.rb
trestle-search-0.4.3 lib/trestle/search/engine.rb
trestle-search-0.4.2 lib/trestle/search/engine.rb