diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 6d26afeea..6580e0e62 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.66 2008-07-18 22:22:59 francis Exp $ +# $Id: routes.rb,v 1.67 2008-08-13 01:39:43 francis Exp $ ActionController::Routing::Routes.draw do |map| @@ -61,6 +61,10 @@ ActionController::Routing::Routes.draw do |map| body.show_public_body "/body/:url_name", :action => 'show' end + map.with_options :controller => 'comment' do |comment| + comment.new_comment "/annotate/request/:url_title", :action => 'new', :type => 'request' + end + map.with_options :controller => 'track' do |track| # /track/ is for setting up an email alert for the item # /feed/ is a direct RSS feed of the item |