diff options
Diffstat (limited to 'app/controllers/list_controller.rb')
-rw-r--r-- | app/controllers/list_controller.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/controllers/list_controller.rb b/app/controllers/list_controller.rb index 16a0d0695..117b93c7a 100644 --- a/app/controllers/list_controller.rb +++ b/app/controllers/list_controller.rb @@ -4,12 +4,12 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: list_controller.rb,v 1.1 2007-10-08 15:16:22 francis Exp $ - +# $Id: list_controller.rb,v 1.2 2007-10-09 11:30:01 francis Exp $ class ListController < ApplicationController - def index - @info_request_pages, @info_requests = paginate :info_requests, :per_page => 25 - end + def index + @info_request_pages, @info_requests = paginate :info_requests, :per_page => 25, :order => "created_at desc" + end + end |