aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/user_controller.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-02-27 12:20:21 +0000
committerfrancis <francis>2008-02-27 12:20:21 +0000
commit7473845559cd1be213fcc7929acdb3c45f697fb6 (patch)
treec94c4a75d60157d665ab564560b2715dd8b8a8e1 /app/controllers/user_controller.rb
parent72fd04f9210625668000708582ea28e0cf6ffe01 (diff)
Fix up some comments and stuff to do with simplify_url_name
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r--app/controllers/user_controller.rb4
1 files changed, 2 insertions, 2 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])