aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/list_controller.rb
blob: 0bd336573e4f197657cb08b96f9574cfc6fd77a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# app/controllers/list_controller.rb:
# Show all of the FOI requests in the system.
#
# 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.3 2007-10-09 17:29:43 francis Exp $

class ListController < ApplicationController
    def index
        @info_request_pages, @info_requests = paginate :info_requests, :per_page => 25, :order => "created_at desc"
    end

    private

end