Files
growstuff/app/views/comments/index.html.haml
Skud 2cd5b1d2ed Changed one config setting (site name) over to figaro
Also massively simplified the original application.yml.example I
originally committed. Let's do this one step at a time.
2014-04-29 12:57:16 +10:00

21 lines
546 B
Plaintext

= content_for :title, "Recent comments"
%div.pagination
= page_entries_info @comments, :model => "comments"
= will_paginate @comments
- @comments.each do |comment|
%h2
Comment on
= link_to comment.post.subject, comment.post
= render :partial => "single", :locals => { :comment => comment }
%div.pagination
= page_entries_info @comments, :model => "comments"
= will_paginate @comments
%p
Subscribe to the #{ENV['GROWSTUFF_SITE_NAME']}
= succeed "." do
= link_to "comments RSS feed", comments_path(:format => 'rss')