Sha256: ca4ff8af807a2f5a068e654eed46173f45b03c084eda0b5d58dbb01521f82a99

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

require 'spud_core'

require 'acts_as_indexed'
module Spud
	module Search

		 class Engine < Rails::Engine
			engine_name :spud_search
			
			initializer :assets do |config| 
				Rails.application.config.assets.precompile += [ 
				     "spud/admin/search*"
				]
			end

			initializer :model_overrides do |config| 
		      ActiveRecord::Base.class_eval do
		        include Spud::Search::Searchable
		      end
		    end
		 end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spud_search-0.9.0 lib/spud_search/engine.rb