page_entries_info() :entry_name doesn't work with no entries. #103

Closed
mongeese opened this Issue Feb 1, 2011 · 1 comment

2 participants

@mongeese

I've got this code:

<%= page_entries_info @students, :entry_name => "student" %>. <%= will_paginate @students %>

It correctly outputs:

Displaying all 29 students.
Displaying 1 student.
Displaying students 1 - 20 of 531 in total.

But, when there are no entries, it seems to ignore :entry_name

No entries found.

@mislav
Owner

Fixed in b0c5c77

@mislav mislav closed this Aug 9, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment