app/views/admin/posts/index.html.haml in effective_posts-0.2.3 vs app/views/admin/posts/index.html.haml in effective_posts-0.2.4

- old
+ new

@@ -1,10 +1,6 @@ %h2= @page_title -- if @datatable.nil? - %p Please install #{link_to 'effective_datatables', 'https://github.com/code-and-effect/effective_datatables'} to view this page -- elsif @datatable.collection.length == 0 += render_datatable @datatable do %p There are no posts -- else - = render_datatable @datatable %p= link_to 'New Post', effective_posts.new_admin_post_path, :class => 'btn btn-primary'