mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-29 20:25:09 -04:00
Also massively simplified the original application.yml.example I originally committed. Let's do this one step at a time.
21 lines
546 B
Plaintext
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')
|