diff options
-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 ============================== |