aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/general_controller.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-08-30 18:08:08 +0100
committerSeb Bacon <seb.bacon@gmail.com>2011-08-30 18:08:08 +0100
commit6032be3fadc6056c7171a492ba456b4374d0a966 (patch)
treef28eaa6a18ad6b8720994332de503ca85830433d /app/controllers/general_controller.rb
parent9c7799903ccf5551df496b7a57e564808089ed30 (diff)
remove redundant config and code relating to front page search examples (relates to issue #153)
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r--app/controllers/general_controller.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb
index 2d0527d3a..1ddf3acff 100644
--- a/app/controllers/general_controller.rb
+++ b/app/controllers/general_controller.rb
@@ -45,10 +45,6 @@ class GeneralController < ApplicationController
:joins => :translations)
end
end
- @search_examples = MySociety::Config.get('FRONTPAGE_SEARCH_EXAMPLES', '').split(/\s*;\s*/)
- if @search_examples.empty?
- @search_examples = @popular_bodies.map { |body| body.name }
- end
# Get some successful requests #
begin
query = 'variety:response (status:successful OR status:partially_successful)'