Changeset [d6e775c9cc7db1ff57fe3daf316c8343ad38accb] by Mislav Marohnić
Revision d6e775c9cc7db1ff57fe3daf316c8343ad38accb,
committed 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...
5 changed files
-
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