This is a generalization of of issue #133 / issue #100, which adds the data-remote attribute. Not all ajax frameworks work the same was as rails ujs.
add extra_attributes option that adds extra attributes to links.
This is a generalization of of issue #133. Not all ajax frameworks
work the same was as rails ujs.
Was this ever merged?
@mislav, could you review this too? Thank you very much!
:extra_attributes isn't descriptive enough. Extra attributes for what?
I realize that will_paginate output isn't easily customized, but throwing more options to the method doesn't make it any better; it just makes the plugin more complex, more difficult to use, and harder to maintain in the long run.
To customize output right now: as always, please subclass the LinkRenderer.