kaminari remote true
This commit is contained in:
parent
2bf1a0f263
commit
bb948f9644
|
|
@ -0,0 +1 @@
|
|||
$('#ajax_list').html("<%= escape_javascript(render('/admin/courses/partials/courses')) %>");
|
||||
|
|
@ -22,5 +22,5 @@
|
|||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
<%= paginate @courses, theme: 'twitter-bootstrap-4', pagination_class: 'justify-content-center' %>
|
||||
<%= paginate @courses, remote: true, theme: 'twitter-bootstrap-4', pagination_class: 'justify-content-center' %>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Reference in New Issue