diff options
author | francis <francis> | 2008-11-07 00:01:49 +0000 |
---|---|---|
committer | francis <francis> | 2008-11-07 00:01:49 +0000 |
commit | 47d1295bd002ffb295857690c0a40c1cfc0e5f8c (patch) | |
tree | 8bab346b8544756fc1cebf87f639b42425173436 /config/routes.rb | |
parent | 3d6627cd88e204705e47bb0ac51c82f98377003c (diff) |
Lots more internal review stuff.
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index b4f3e3a62..a7e5984fa 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.78 2008-10-28 17:58:48 francis Exp $ +# $Id: routes.rb,v 1.79 2008-11-07 00:01:51 francis Exp $ ActionController::Routing::Routes.draw do |map| @@ -83,7 +83,8 @@ ActionController::Routing::Routes.draw do |map| end map.with_options :controller => 'help' do |help| - help.help_general '/help/:action', :action => :action + help.help_general '/help/unhappy/:url_title', :action => 'unhappy' + help.help_general '/help/:action', :action => :action end # NB: We don't use routes to *construct* admin URLs, as they need to be relative |