diff options
author | Peter Kozak <spag@golwen.net> | 2013-06-22 10:21:53 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-06-22 10:21:53 +0200 |
commit | d21bf5513aa28187deb6b6c1ba21635b97ff82a4 (patch) | |
tree | 3de6fe8d7818eec561f6b652be1721769cb7631a /app | |
parent | 22c5ce2ab518a548428320ae38818fe1f16ce567 (diff) |
pagination fixed
Diffstat (limited to 'app')
-rw-r--r-- | app/views/sip_accounts/_index_core.html.haml | 4 |
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 |