summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/init.rb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2011-02-10 14:19:00 +0100
committerhukl <contact@smyck.org>2011-02-10 14:19:00 +0100
commit7379daad1c73bd3610ed296436250b417ac3673d (patch)
tree04f722efc678de9d3aa5bf8f1c96e3be33b18bc4 /vendor/plugins/thinking-sphinx/init.rb
parent91633ac4419d839661e35ae8f2efe5c9089cfb67 (diff)
removed thinking_sphinx plugin and replaced it with gem.
also tuned dependencies
Diffstat (limited to 'vendor/plugins/thinking-sphinx/init.rb')
-rw-r--r--vendor/plugins/thinking-sphinx/init.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/vendor/plugins/thinking-sphinx/init.rb b/vendor/plugins/thinking-sphinx/init.rb
deleted file mode 100644
index a7e3920..0000000
--- a/vendor/plugins/thinking-sphinx/init.rb
+++ /dev/null
@@ -1,12 +0,0 @@
1require 'thinking_sphinx'
2
3if Rails::VERSION::STRING.to_f < 2.1
4 ThinkingSphinx::Configuration.instance.load_models
5end
6
7if Rails::VERSION::STRING.to_f > 1.2
8 require 'action_controller/dispatcher'
9 ActionController::Dispatcher.to_prepare :thinking_sphinx do
10 ThinkingSphinx::Configuration.instance.load_models
11 end
12end \ No newline at end of file