From 3ab3e5a46aa97e2d560ef259e639b09dd926df66 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Fri, 29 Jun 2012 11:24:00 +0100 Subject: [PATCH] Added total post count --- app/views/feeds/index.html.haml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/views/feeds/index.html.haml b/app/views/feeds/index.html.haml index 5ed9dea..b7e6085 100644 --- a/app/views/feeds/index.html.haml +++ b/app/views/feeds/index.html.haml @@ -28,5 +28,14 @@ %td= link_to 'Edit', edit_feed_path(f), :class => "button" %td= link_to 'Delete', f, :confirm => "Delete #{f.title} and all its posts?", :method => :delete, :class => "button" + %tr + %td + %td.right= Post.count + %td + %td + %td + %td + %td + #new_feed = render 'form'