Sha256: f06bd78150fd4c028aebc9b2addeb64b0d0f998a99fd1947af61c7462d2e7c20
Contents?: true
Size: 493 Bytes
Versions: 2
Compression:
Stored size: 493 Bytes
Contents
require "enjoy/search/version" require "enjoy/search/configuration" require "enjoy/search/engine" require "enjoy/search/routes" if Enjoy.active_record? require 'pg_search' end module Enjoy::Search class << self def orm Enjoy.orm end def mongoid? Enjoy::Search.orm == :mongoid end def active_record? Enjoy::Search.orm == :active_record end end module Controllers autoload :Search, 'enjoy/search/controllers/search' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enjoy_cms_search-0.4.1 | lib/enjoy_cms_search.rb |
enjoy_cms_search-0.4.0.1 | lib/enjoy_cms_search.rb |