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:  

/ tracks> page = X # items / P>

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

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -