diff options
author | francis <francis> | 2008-02-27 12:20:21 +0000 |
---|---|---|
committer | francis <francis> | 2008-02-27 12:20:21 +0000 |
commit | 7473845559cd1be213fcc7929acdb3c45f697fb6 (patch) | |
tree | c94c4a75d60157d665ab564560b2715dd8b8a8e1 | |
parent | 72fd04f9210625668000708582ea28e0cf6ffe01 (diff) |
Fix up some comments and stuff to do with simplify_url_name
-rw-r--r-- | app/controllers/user_controller.rb | 4 | ||||
-rw-r--r-- | todo.txt | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 2c10db6f8..50f8ece10 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -4,10 +4,10 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: user_controller.rb,v 1.28 2008-02-27 12:18:28 francis Exp $ +# $Id: user_controller.rb,v 1.29 2008-02-27 12:20:22 francis Exp $ class UserController < ApplicationController - # XXX See controllers/application.rb simplify_url_part for reverse of expression in SQL below + # Show page about a set of users with same url name def show if MySociety::Format.simplify_url_part(params[:url_name]) != params[:url_name] redirect_to :url_name => MySociety::Format.simplify_url_part(params[:url_name]) @@ -1,10 +1,5 @@ -user should have url_name too and request! -fix up comments in Format.simplify_url_part re. other places - -check all simplify_url_part again - FOI requests to use to test it ============================== |