diff options
author | francis <francis> | 2009-09-07 18:56:44 +0000 |
---|---|---|
committer | francis <francis> | 2009-09-07 18:56:44 +0000 |
commit | daf2528d50017592b9c9888866f48a44b611e7fd (patch) | |
tree | 81abea540fe8a954849a87c249ccefaecc2d5de7 /app/controllers/admin_general_controller.rb | |
parent | 10826ef95abf9d15cb5c064a46eb162328254002 (diff) |
Slightly more info on admin page.
Diffstat (limited to 'app/controllers/admin_general_controller.rb')
-rw-r--r-- | app/controllers/admin_general_controller.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/controllers/admin_general_controller.rb b/app/controllers/admin_general_controller.rb index f0253e0a3..fdaa5ef39 100644 --- a/app/controllers/admin_general_controller.rb +++ b/app/controllers/admin_general_controller.rb @@ -4,15 +4,20 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: admin_general_controller.rb,v 1.9 2009-07-16 15:46:08 francis Exp $ +# $Id: admin_general_controller.rb,v 1.10 2009-09-07 18:56:44 francis Exp $ class AdminGeneralController < AdminController def index # Overview counts of things - @user_count = User.count @public_body_count = PublicBody.count + @info_request_count = InfoRequest.count + @outgoing_message_count = OutgoingMessage.count + @incoming_message_count = IncomingMessage.count + + @user_count = User.count @track_thing_count = TrackThing.count + @comment_count = Comment.count # Tasks to do |