Browse Source

Added total post count

master
Adrian Short 12 years ago
parent
commit
3ab3e5a46a
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      app/views/feeds/index.html.haml

+ 9
- 0
app/views/feeds/index.html.haml View File

@@ -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'

Loading…
Cancel
Save