I want to disable turbolinks
for links created by kaminari gem. I tried following with no luck.
<%= paginate audits, turbolinks: false %>
Any help would be appreciated!
I think you should create custom views (bootstrap-4 is only example, you can choose something different):
rails g kaminari:views bootstrap4
This generates folder kaminari and all required views. Then you can customise links, in your case by adding additional attribute,
<li class="page-item">
<%= link_to_unless current_page.last?, raw(t 'views.pagination.next'), url, rel: 'next', remote: remote, class: 'page-link', data: { turbolinks: false } %>
</li>