Skip to content
This repository

Using the #total_pages method of LinkRendererBase also in LinkRenderer #249

Closed
wants to merge 1 commit into from

2 participants

Lars Schirrmeister Mislav Marohnić
Lars Schirrmeister

Helps to easily change the behavior of the view helper concerning the total pages to be shown.

Mislav Marohnić
Owner

Thanks! pulled

Mislav Marohnić mislav closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jul 04, 2012
Lars Schirrmeister l-schirrmeister Using predefined private object method total_pages instead of @collec…
…tion.total_pages
e425862
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/will_paginate/view_helpers/link_renderer.rb
2  lib/will_paginate/view_helpers/link_renderer.rb
@@ -59,7 +59,7 @@ def previous_page

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.