will_paginate edit first page

I am using will_paginate gem to paginate some results and it works very well
but I want to be able to edit the first page and palce some html fragments not included in the results on top or on the side
how can I do this to have the fragment only in the first page


You could use the params[:page] attribute to switch this off and on, I guess. If params[:page] is missing or equal to 1, then do this, else do that.


Could you look at kaminari gem. It is more flexible and allows you change everything.

Thank you, I used this params, Ithoughts Ican do it with some options in the gem


You could use the params.