瀏覽代碼

Added total post count

master
Adrian Short 12 年之前
父節點
當前提交
3ab3e5a46a
共有 1 個檔案被更改,包括 9 行新增0 行删除
  1. +9
    -0
      app/views/feeds/index.html.haml

+ 9
- 0
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'

Loading…
取消
儲存