Explorar el Código

Added total post count

master
Adrian Short hace 12 años
padre
commit
3ab3e5a46a
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. +9
    -0
      app/views/feeds/index.html.haml

+ 9
- 0
app/views/feeds/index.html.haml Ver fichero

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

Cargando…
Cancelar
Guardar