aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/routes.rb4
-rw-r--r--public/robots.txt6
2 files changed, 7 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 98b117958..d93d7004d 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -4,7 +4,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: routes.rb,v 1.73 2008-09-08 02:05:14 francis Exp $
+# $Id: routes.rb,v 1.74 2008-09-15 16:16:35 francis Exp $
ActionController::Routing::Routes.draw do |map|
@@ -34,7 +34,7 @@ ActionController::Routing::Routes.draw do |map|
request.new_request_to_body '/new/:public_body_id', :action => 'new'
request.show_request '/request/:url_title', :action => 'show'
- request.similar_request '/request/:url_title/similar', :action => 'similar'
+ request.similar_request '/similar/request/:url_title', :action => 'similar'
request.describe_state '/request/:id/describe', :action => 'describe_state'
request.show_response_no_followup '/request/:id/response', :action => 'show_response'
diff --git a/public/robots.txt b/public/robots.txt
index 4ab9e89fe..783b0e7ed 100644
--- a/public/robots.txt
+++ b/public/robots.txt
@@ -1 +1,5 @@
-# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file \ No newline at end of file
+# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
+
+User-agent: *
+Disallow: /similar/
+