diff options
author | francis <francis> | 2008-01-09 15:35:40 +0000 |
---|---|---|
committer | francis <francis> | 2008-01-09 15:35:40 +0000 |
commit | 7830423f9bdb1d006c41b30e4ee30b5949c2a35f (patch) | |
tree | 5c14d558a0a2688f13502cc8e4d34576c62412ee /config/routes.rb | |
parent | b5dc11b5f2089b1c9b94414081e0c03d22de1e3d (diff) |
Working days calculation.
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 020e452a2..0dd6976e6 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.26 2008-01-04 15:12:33 francis Exp $ +# $Id: routes.rb,v 1.27 2008-01-09 15:35:41 francis Exp $ ActionController::Routing::Routes.draw do |map| # The priority is based upon order of creation: first created -> highest priority. @@ -26,7 +26,11 @@ ActionController::Routing::Routes.draw do |map| user.signup '/signup', :action => 'signup' user.signout '/signout', :action => 'signout' user.confirm '/c/:email_token', :action => 'confirm' - user.show_user "/user/:simple_name", :action => 'show' + user.show_user '/user/:simple_name', :action => 'show' + end + + map.with_options :controller => 'help' do |help| + help.about '/about', :action => 'about' end map.show_public_body "/body/:simple_short_name", :controller => 'body', :action => 'show' |