Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 379 Bytes
class SphinxSearchExtension < Radiant::Extension
version YAML::load_file(File.join(File.dirname(__FILE__), 'VERSION'))
description "Search Pages with ThinkingSphinx"
url "http://digitalpulp.com"
def activate
Page.send(:include, SphinxSearch::PageExtensions)
PageContext.send(:include, SphinxSearch::PageContextExtensions)
end
def deactivate
end
end