aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/admin_request_controller.rb
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-03-15 15:40:50 +1100
committerHenare Degan <henare.degan@gmail.com>2013-03-15 15:47:36 +1100
commit67bfa6a05079ae2f6642bb8eb20fd8d342124f53 (patch)
tree94bfd59d7fc25d50b42f2c5f820827f3773e858c /app/controllers/admin_request_controller.rb
parenta4f111b763863d7a2acc4a6dcd08bebc887eb875 (diff)
Removed in eadfc265ff83524cbd54b2682f2de818bca24bf4
Diffstat (limited to 'app/controllers/admin_request_controller.rb')
-rw-r--r--app/controllers/admin_request_controller.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/controllers/admin_request_controller.rb b/app/controllers/admin_request_controller.rb
index 3ad2713d2..699c79b47 100644
--- a/app/controllers/admin_request_controller.rb
+++ b/app/controllers/admin_request_controller.rb
@@ -24,21 +24,6 @@ class AdminRequestController < AdminController
:per_page => 100
end
- def list_old_unclassified
- @info_requests = WillPaginate::Collection.create((params[:page] or 1), 50) do |pager|
- info_requests = InfoRequest.find_old_unclassified(:conditions => ["prominence = 'normal'"],
- :limit => pager.per_page,
- :offset => pager.offset)
- # inject the result array into the paginated collection:
- pager.replace(info_requests)
-
- unless pager.total_entries
- # the pager didn't manage to guess the total count, do it manually
- pager.total_entries = InfoRequest.count_old_unclassified(:conditions => ["prominence = 'normal'"])
- end
- end
- end
-
def show
@info_request = InfoRequest.find(params[:id])
# XXX is this *really* the only way to render a template to a