summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-06-22 10:21:53 +0200
committerPeter Kozak <spag@golwen.net>2013-06-22 10:21:53 +0200
commitd21bf5513aa28187deb6b6c1ba21635b97ff82a4 (patch)
tree3de6fe8d7818eec561f6b652be1721769cb7631a /app
parent22c5ce2ab518a548428320ae38818fe1f16ce567 (diff)
pagination fixed
Diffstat (limited to 'app')
-rw-r--r--app/views/sip_accounts/_index_core.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/sip_accounts/_index_core.html.haml b/app/views/sip_accounts/_index_core.html.haml
index be1f4cb..2032720 100644
--- a/app/views/sip_accounts/_index_core.html.haml
+++ b/app/views/sip_accounts/_index_core.html.haml
@@ -1,6 +1,6 @@
-- if defined?(users.total_pages)
- = will_paginate users, :renderer => BootstrapPagination::Rails, :previous_label => raw('<i class = "icon-chevron-left"></i>'), :next_label => raw('<i class = "icon-chevron-right"></i>')
+- if defined?(sip_accounts.total_pages)
+ = will_paginate sip_accounts, :renderer => BootstrapPagination::Rails, :previous_label => raw('<i class = "icon-chevron-left"></i>'), :next_label => raw('<i class = "icon-chevron-right"></i>')
%table.table.table-striped
%thead