views:

32

answers:

1

Good morning :), I like to localize the "previous" and "next" links in will_paginate, how can I do that? Did anyone find a nice workaround? Thanks in advance cheers tabaluga

A: 

will_paginate accepts a Hash of options, including options to customize the previous/next labels.

<% will_paginate @collection, :previous_label => t("previous"), :next_label => t("next") %>
Simone Carletti
Thank YOU! That worked! Have a nice weekend. :)
tabaluga