From 078876788a3587468d4015347b96ae5239fb902c Mon Sep 17 00:00:00 2001 From: thomaschen <99703040@nccu.edu.tw> Date: Wed, 28 Aug 2013 10:31:03 +0800 Subject: [PATCH] rescue paginate error --- app/views/admin/users_new_interface/_index_paginator.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/users_new_interface/_index_paginator.html.erb b/app/views/admin/users_new_interface/_index_paginator.html.erb index aa119d3e8..25a44d6ca 100644 --- a/app/views/admin/users_new_interface/_index_paginator.html.erb +++ b/app/views/admin/users_new_interface/_index_paginator.html.erb @@ -5,6 +5,6 @@ <% end -%> <%end -%>
- <%= paginate @users, :params => {:inner => false}%> + <%= paginate @users, :params => {:inner => false} rescue nil %>