aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/list_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/list_controller.rb')
-rw-r--r--app/controllers/list_controller.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/controllers/list_controller.rb b/app/controllers/list_controller.rb
new file mode 100644
index 000000000..16a0d0695
--- /dev/null
+++ b/app/controllers/list_controller.rb
@@ -0,0 +1,15 @@
+# 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.1 2007-10-08 15:16:22 francis Exp $
+
+
+class ListController < ApplicationController
+
+ def index
+ @info_request_pages, @info_requests = paginate :info_requests, :per_page => 25
+ end
+end