From 60056be5c6e600880a7ee577cbc24a470f3f1119 Mon Sep 17 00:00:00 2001 From: francis Date: Fri, 26 Oct 2007 18:00:26 +0000 Subject: Framework for incoming messages. Email address for public body to respond to, with hash. Take incoming messages and route to correct info request. --- 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 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 -- cgit v1.2.3