mislav committed changeset [274]

June 20th, 2007 @ 10:21 PM

Will Paginate: save global defaults for view helpers in easily accessible WillPaginate::ViewHelpers.pagination_options hash. This makes it easy to override global defaults, for instance to localize previous/next page links. This new feature helps you to stay DRY in your views and use the will_paginate helper without repetiton throughout your app.


Committed by Chris Wanstrath

  • U will_paginate/lib/will_paginate/view_helpers.rb
  • U will_paginate/test/pagination_test.rb
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 ยป

Shared Ticket Bins