ruby on rails - Paginate link with hash parameter with kaminari -
I am using the Camiri to endorse the results in my view. Url / tracks and I use this code to score on this page:
& lt;% = paginate @ tracks% & gt;
The problem is that the paged content is within the bootstrap tab, when the user accesses the link with the hash parameter, the wizard is activated:
What is the paging link in the form of something like this:
/ P>
/ tracks> page = X # items
So what tab is automatically enabled when the user clicks on the page link?
You can add anchor to the paging link like this:
& Lt;% = Paginate @ track, Parameters => {: Anchor = & gt; 'Items'}%>
Comments
Post a Comment