I used paginate.css file in /vendor/pugins/will_paginate/examples
and it was so easy, wished that I knew it before...
include the css in your layout and paginate with one more option :class
<%= will_paginate @things, options = { :previous_label => "Anterior", :next_label => "Próximo", :class => "digg_pagination"} %>
the result:

Nenhum comentário:
Postar um comentário