bpokosh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Nov-20 23:44 UTC
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? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Quoting bpokosh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <bpokosh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---