diff options
author | francis <francis> | 2009-09-09 00:03:08 +0000 |
---|---|---|
committer | francis <francis> | 2009-09-09 00:03:08 +0000 |
commit | 97ab1c13b28ed0bf03246cf22b68a999981b0b0a (patch) | |
tree | 86775b23169bf8be69e2e72b0c21507ca943b9f8 /app/controllers/general_controller.rb | |
parent | 18ae8383cf6b315c828eda81e3c35494bcb0b4ac (diff) |
Remove some obsolete no_crawl, now in robots.txt.
Make it not go deep into page listings of requests.
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r-- | app/controllers/general_controller.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb index 6d2151861..9041fd12e 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.53 2009-09-04 13:44:39 francis Exp $ +# $Id: general_controller.rb,v 1.54 2009-09-09 00:03:09 francis Exp $ class GeneralController < ApplicationController @@ -114,14 +114,6 @@ class GeneralController < ApplicationController @track_thing = TrackThing.create_track_for_search_query(@query) @feed_autodetect = [ { :url => do_track_url(@track_thing, 'feed'), :title => @track_thing.params[:title_in_rss] } ] - - # No point bots crawling all the pages of search results. - @no_crawl = true - - # If we came from the front page (@bodies is true) and found no bodies - #if @bodies && @xapian_bodies.results.size == 0 - # flash[:notice] = 'No authorities found with that name. <a href="/body/list/other">Browse all</a> or <a href="/help/about#missing_body">ask us to add one</a>.' - #end end # For debugging |