diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index 034aba48a..0ea2cb946 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.8 2007-10-08 15:16:23 francis Exp $ +# $Id: routes.rb,v 1.9 2007-10-09 11:30:02 francis Exp $ ActionController::Routing::Routes.draw do |map| # The priority is based upon order of creation: first created -> highest priority. @@ -12,8 +12,9 @@ ActionController::Routing::Routes.draw do |map| # Sample of regular route: # map.connect 'products/:id', :controller => 'catalog', :action => 'view' # Keep in mind you can assign values other than :controller and :action - map.connect "/new/:action", :controller => 'new', :action => 'index' - map.connect "/list/:action", :controller => 'list', :action => 'index' + map.connect "/new/:action", :controller => 'new' + map.connect "/list/:action", :controller => 'list' + map.connect "/request/:id", :controller => 'request', :action => 'index' map.connect '/admin/:action', :controller => 'admin', :action => 'index' map.connect '/admin/body/:action/:id', :controller => 'admin_public_body' |