app/views/admin/blog/posts/index.html.erb in comfy_blog-0.1.0 vs app/views/admin/blog/posts/index.html.erb in comfy_blog-0.1.1

- old
+ new

@@ -6,6 +6,10 @@ <% @posts.each do |post| %> <%= render :partial => 'post', :object => post %> <% end %> </ul> -<%= will_paginate @posts %> +<% if defined?(WillPaginate) %> + <%= will_paginate @posts %> +<% elsif defined?(Kaminari)%> + <%= paginate @posts %> +<% end %> \ No newline at end of file