app/views/admin/entries/index.html.erb in slices-1.0.3 vs app/views/admin/entries/index.html.erb in slices-1.0.4

- old
+ new

@@ -24,9 +24,11 @@ </tbody> </table> </section> </div> <% content_for :js_head do %> -$(function() { EntriesBackbone.boot('<%= @page.id %>', <%= raw @options.to_json %>); -}); + slices.trigger('entries:index'); + <% @page.entry_types.each do |entry_type| %> + slices.trigger('entries:index:<%= entry_type %>'); + <% end %> <% end %>