From 296ca1892c35f1a735c24c4e7555299c9c86bd54 Mon Sep 17 00:00:00 2001 From: francis Date: Thu, 21 Aug 2008 01:26:11 +0000 Subject: Sort list of requests on your page chronologically by creation time. --- app/controllers/user_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/controllers/user_controller.rb') diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index e2ef4898d..c6eaeea68 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.53 2008-08-20 22:16:49 francis Exp $ +# $Id: user_controller.rb,v 1.54 2008-08-21 01:26:11 francis Exp $ class UserController < ApplicationController - # Show page about a set of users with same url name + # Show page about a user def show if MySociety::Format.simplify_url_part(params[:url_name], 32) != params[:url_name] redirect_to :url_name => MySociety::Format.simplify_url_part(params[:url_name], 32) -- cgit v1.2.3