From 5b02e54f17ee5c92bb676c8cfe2cda76dc006b7c Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Tue, 30 Dec 2014 21:00:12 +0800 Subject: [PATCH] fix for pagination --- app/views/admin/registered_sites/_index.html.erb | 8 +------- app/views/admin/registered_sites/index.html.erb | 4 ++-- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/app/views/admin/registered_sites/_index.html.erb b/app/views/admin/registered_sites/_index.html.erb index bca042f..4dcb87e 100644 --- a/app/views/admin/registered_sites/_index.html.erb +++ b/app/views/admin/registered_sites/_index.html.erb @@ -52,10 +52,4 @@ <% end %> - - - <%= - content_tag :div, class: "bottomnav clearfix" do - content_tag :div, paginate(@registeredsites), class: "pagination pagination-centered" - end -%> \ No newline at end of file + \ No newline at end of file diff --git a/app/views/admin/registered_sites/index.html.erb b/app/views/admin/registered_sites/index.html.erb index 4aecc43..f95a4da 100644 --- a/app/views/admin/registered_sites/index.html.erb +++ b/app/views/admin/registered_sites/index.html.erb @@ -2,8 +2,8 @@ <%= render 'index'%> - <%= + <%= content_tag :div, class: "bottomnav clearfix" do - content_tag :div, paginate(@registered_modules), class: "pagination pagination-centered" + content_tag :div, paginate(@registeredsites), class: "pagination pagination-centered" end %> \ No newline at end of file