#256 ✓resolved

Double page params when using merb

Reported by phatmann | December 21st, 2008 @ 07:30 PM

In merb, the page links are not being formed correctly after browsing to page 2, 3, etc. The links end up with double page params:


The fix is to change line 8 in merb.rb

params = @template.request.params.except(:action, :controller).merge(:page => page)


params = @template.request.params.except(:action, :controller).merge('page' => page)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Everyone's favorite Ruby library for pagination of practically anything!

People watching this ticket

Referenced by