Display total user count correctly in user list

This commit is contained in:
Tom Hughes 2010-05-07 09:05:55 +01:00
parent fc7488f28a
commit b9deb68de1
2 changed files with 3 additions and 2 deletions

View file

@ -11,6 +11,7 @@
:page => @user_pages.current_page.number,
:first_item => @user_pages.current_page.first_item,
:last_item => @user_pages.current_page.last_item,
:items => @user_pages.item_count,
:count => @user_pages.current_page.last_item - @user_pages.current_page.first_item + 1
%>
<% if @user_pages.page_count > 1 %>