Changeset [3c1225168ea7c583dfe6b897fe52131f1c06e878] by Mislav Marohnić

September 15th, 2011 @ 12:51 PM

remove :renderer from global pagination_options to discourage using it

Because lately it's popular to mount different web frameworks in the
same Ruby process (e.g. Sinatra apps beside Rails), a global link
renderer option is useless since it would affect all frameworks but it's
hardly possible that a single renderer will work in all of these
frameworks.

See resolution for #176
https://github.com/mislav/will_paginate/commit/3c1225168ea7c583dfe6...

Committed by Mislav Marohnić

  • M lib/will_paginate/view_helpers.rb
  • M lib/will_paginate/view_helpers/link_renderer.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!