Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (8 sloc) 308 Bytes
- @posts.each do |post|
= partial :article, :locals => {:post => post}
.pager
%ul
- if @posts.pager.previous_page
%li.previous= link_to t.newer, "?page=#{@posts.pager.previous_page}"
- if @posts.pager.next_page
%li.next= link_to t.older, "?page=#{@posts.pager.next_page}"