aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/general_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r--app/controllers/general_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb
index 7dbfa6b53..9e2dccc9a 100644
--- a/app/controllers/general_controller.rb
+++ b/app/controllers/general_controller.rb
@@ -5,7 +5,7 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: general_controller.rb,v 1.18 2008-04-15 23:53:10 francis Exp $
+# $Id: general_controller.rb,v 1.19 2008-04-24 23:52:59 francis Exp $
class GeneralController < ApplicationController
@@ -70,7 +70,7 @@ class GeneralController < ApplicationController
# Used in front page search for public body
def public_body_query(query)
- # @public_bodies = PublicBody.find_by_solr(query).results
+ # XXX try using search now we have spell correction?
criteria = '%' + query + '%'
@public_bodies = PublicBody.find(:all,