Sha256: ba1bd94e8f6a48c6adfd5cbeb1c03d0b764ea40038a9dd2b53eded20439674a9

Contents?: true

Size: 310 Bytes

Versions: 8

Compression:

Stored size: 310 Bytes

Contents

<% @posts.each do |post| %>
  <%= render :partial => 'post', :object => post %>
<% end %>

<% if defined?(WillPaginate) %>
  <%= will_paginate @posts, :previous_label => '« Older Posts', :next_label => 'Newer Posts »', :page_links => false %>
<% elsif defined?(Kaminari) %>
  <%= paginate @posts %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
comfy_blog-0.1.8 app/views/blog/posts/index.html.erb
comfy_blog-0.1.7 app/views/blog/posts/index.html.erb
comfy_blog-0.1.6 app/views/blog/posts/index.html.erb
comfy_blog-0.1.5 app/views/blog/posts/index.html.erb
comfy_blog-0.1.4 app/views/blog/posts/index.html.erb
comfy_blog-0.1.3 app/views/blog/posts/index.html.erb
comfy_blog-0.1.2 app/views/blog/posts/index.html.erb
comfy_blog-0.1.1 app/views/blog/posts/index.html.erb