Will_paginate Customization

Will_paginate will give the neatful form of pagination as seen in the earlier. Here we can see the
the some customized form displaying the pagination displays,

<%= will_paginate @display_data %>

— will  display the normal pagination navigation icon as seen.

<%= will_paginate @display_data, :page_links => false %>

— will  display the normal previous and Next icon exlcuding the page numbers.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: