app/views/spud/admin/posts/index.html.erb in spud_blog-0.8.18 vs app/views/spud/admin/posts/index.html.erb in spud_blog-0.9.0

- old
+ new

@@ -1,6 +1,7 @@ <%= content_for :data_controls do %> + <%= link_to "Manage Categories", spud_admin_post_categories_path, :class => 'btn spud_blog_manage_categories', :title => 'Manage Categories' %> <%= link_to "New Post", new_spud_admin_post_path, :class => "btn btn-primary", :title => "New Post" %> <% end %> <%=content_for :detail do %> <table class="admin-table"> @@ -35,6 +36,10 @@ </tbody> </table> <div class="spud_admin_pagination"> <%= will_paginate @posts %> </div> + + <script> + $(document).ready(Spud.Admin.PostCategories.index); + </script> <%end%>