will_paginate question

I'm using will_paginate and in my views I have two images, a left
arrow and a right arrow, that act as my pagination links. Is there a
method built in to generate the URL's for those images?

Quoting bpokosh@gmail.com <bpokosh@gmail.com>:

I'm using will_paginate and in my views I have two images, a left
arrow and a right arrow, that act as my pagination links. Is there a
method built in to generate the URL's for those images?

WillPaginate::ViewHelpers.pagination_options[:previous_label] = link_to(image_tag ...
WillPaginate::ViewHelpers.pagination_options[:next_label] = link_to(image_tag ...

HTH,
  Jeffrey