Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 2cd70c6118
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (24 sloc) 0.574 kB
require 'refinery'
module Refinery
module Search
class Engine < Rails::Engine
config.to_prepare do
module ::Refinery
class << self
attr_accessor :searchable_models
def searchable_models
@searchable_models ||= [Page]
end
end
end
end
config.after_initialize do
::Refinery::Plugin.register do |plugin|
plugin.name = 'refinerycms_search'
plugin.version = 1.1
plugin.hide_from_menu = true
end
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.