summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/users/_index_core.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/users/_index_core.html.haml b/app/views/users/_index_core.html.haml
index c994997..d741282 100644
--- a/app/views/users/_index_core.html.haml
+++ b/app/views/users/_index_core.html.haml
@@ -1,6 +1,7 @@
- cache(['user_table_row_inner_td', I18n.locale, current_user, users.reorder(:updated_at).last, users.count, GsParameter.get('NUMBER_OF_SHOWN_ITEMS')]) do
.pagination
- = will_paginate users, :renderer => BootstrapPagination::Rails
+ - if defined?(users.total_pages)
+ = will_paginate users, :renderer => BootstrapPagination::Rails
%table.table.table-striped
%thead
%tr