On May 18, 9:01 am, Doel Sengupta <rails-mailing-l...@andreas-s.net>
wrote:
> Hi,
> I am using the will_paginate plugin for my application.
> It is showing Prevoius 1,2,3...22,23,24 Next
> but I like to have My view Page as
> First Previous Next Last instad of showing the numbers,
> How will I customise the plugin?

Take a look at the api docs for will paginate (http://gitrdoc.com/
mislav/will_paginate/tree/master/ ) will_paginate takes various
options that allow you to control what labels are used (or you can
even write your own link renderer if you need even more control.

Fred
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to