![](https://secure.gravatar.com/avatar/c86c50541d5788109494469469e08f4f.png?default=mp&rating=pg&size=250)
Lukas Gutwinski
Joined
510 Experience
5 Lessons Completed
0 Questions Solved
Activity
In case you also want to add the current page to the url you can add this link_extra part to the pagy line in the employees controller:
@pagy, @employees = pagy @employees.reorder(sort_column => sort_direction), items: params.fetch(:count, 10), link_extra: 'data-turbo-frame="listings" data-turbo-action="advance"'