diff options
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r-- | app/controllers/user_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 13b2d64cd..2bcb0203a 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -4,11 +4,11 @@ # 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.2 2007-10-09 17:29:43 francis Exp $ +# $Id: user_controller.rb,v 1.3 2007-10-26 18:00:26 francis Exp $ class UserController < ApplicationController def index - @display_users = User.find(:all, :conditions => [ "name = ?", params[:name] ]) + @display_users = User.find(:all, :conditions => [ "name = ?", params[:name] ], :order => "created_at desc") end private |