Changeset [3c1225168ea7c583dfe6b897fe52131f1c06e878] by Mislav Marohnić
Revision 3c1225168ea7c583dfe6b897fe52131f1c06e878,
committed 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...
2 changed files
-
M
lib/will_paginate/view_helpers.rb -
M
lib/will_paginate/view_helpers/link_renderer.rb