Changeset [d6e775c9cc7db1ff57fe3daf316c8343ad38accb] by Mislav Marohnić

September 17th, 2011 @ 03:10 PM

deprecate renderer, previous/next_label global settings with pagination_options

Renderer shouldn't be set globally because of mounted apps
compatibility, and previous/next_label in Rails should be customized
with i18n rather than editing pagination_options.
https://github.com/mislav/will_paginate/commit/d6e775c9cc7db1ff57fe...

Committed by Mislav Marohnić

  • A lib/will_paginate/deprecation.rb
  • M lib/will_paginate/view_helpers.rb
  • M spec/spec_helper.rb
  • M spec/view_helpers/base_spec.rb
  • M spec/view_helpers/link_renderer_base_spec.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 »

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