From d21bf5513aa28187deb6b6c1ba21635b97ff82a4 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Sat, 22 Jun 2013 10:21:53 +0200 Subject: pagination fixed --- app/views/sip_accounts/_index_core.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views') 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(''), :next_label => raw('') +- if defined?(sip_accounts.total_pages) + = will_paginate sip_accounts, :renderer => BootstrapPagination::Rails, :previous_label => raw(''), :next_label => raw('') %table.table.table-striped %thead -- cgit v1.2.3