From 9cf30b431a2c4f905ee5160aae4a543129ff8aa2 Mon Sep 17 00:00:00 2001 From: Andy Brett Date: Thu, 12 Nov 2020 14:09:59 -0800 Subject: [PATCH] specify Spree routes for pagination --- app/views/spree/admin/users/index.html.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/spree/admin/users/index.html.haml b/app/views/spree/admin/users/index.html.haml index fb60688ce7..c36fa7d7c5 100644 --- a/app/views/spree/admin/users/index.html.haml +++ b/app/views/spree/admin/users/index.html.haml @@ -26,7 +26,9 @@ %td.user_enterprise_limit= user.enterprise_limit %td.actions = link_to_delete user, no_text: true -= paginate @users +- _with_routes Spree::Core::Engine.routes do + = paginate @users + - content_for :sidebar_title do = t(".search") - content_for :sidebar do