app/views/trestle/resource/index.html.erb in trestle-0.9.3 vs app/views/trestle/resource/index.html.erb in trestle-0.9.4
- old
+ new
@@ -18,8 +18,8 @@
<%= render "trestle/table/table", table: admin.table, collection: collection %>
<footer class="main-content-footer">
<%= hook("resource.index.footer") %>
- <%= render "trestle/table/pagination", collection: collection, entry_name: admin.model_name %>
+ <%= pagination collection: collection, entry_name: admin.model_name, remote: admin.pagination_options[:ajax] %>
</footer>
<% end %>