Sha256: f6d24e219ab77143c1b8e0406a574110ae1239d76771b6eb9d2f3745f5fa609e

Contents?: true

Size: 249 Bytes

Versions: 14

Compression:

Stored size: 249 Bytes

Contents

require 'locomotive/search'

class Locomotive::Search::Engine
  initializer "locomotive.search.extension", before: "locomotive.search.concerns" do
    require 'activesearch/mongoid'
    Locomotive::Search::Extension = ActiveSearch::Mongoid
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
locomotivecms-search-0.3.6 lib/locomotive/search/mongoid.rb
locomotivecms-search-0.3.5 lib/locomotive/search/mongoid.rb
locomotivecms-search-0.3.4 lib/locomotive/search/mongoid.rb
locomotivecms-search-0.3.3 lib/locomotive/search/mongoid.rb
locomotivecms-search-0.3.2 lib/locomotive/search/mongoid.rb
locomotivecms-search-0.3.0 lib/locomotive/search/mongoid.rb
locomotivecms-search-0.2.8 lib/locomotive/search/mongoid.rb
locomotivecms-search-0.2.7 lib/locomotive/search/mongoid.rb
locomotivecms-search-0.2.6 lib/locomotive/search/mongoid.rb
locomotivecms-search-0.2.5 lib/locomotive/search/mongoid.rb
locomotivecms-search-0.2.4 lib/locomotive/search/mongoid.rb
locomotivecms-search-0.2.3 lib/locomotive/search/mongoid.rb
locomotivecms-search-0.2.2 lib/locomotive/search/mongoid.rb
locomotivecms-search-0.2.1 lib/locomotive/search/mongoid.rb