diff --git a/lib/templates/haml/scaffold/index.html.haml b/lib/templates/haml/scaffold/index.html.haml index 0e455f8..b7412a4 100644 --- a/lib/templates/haml/scaffold/index.html.haml +++ b/lib/templates/haml/scaffold/index.html.haml @@ -49,3 +49,5 @@ %i.icon-edit = link_to(<%= singular_table_name %>, class: 'btn btn-danger', method: :delete) do %i.icon-trash + += will_paginate @<%= plural_table_name %>, renderer: BootstrapPagination::Rails, bootstrap: 3