From 0c5e0d7fa7ae2263a9c437fbecc799697a36d3c6 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Tue, 7 Jan 2020 01:14:06 -0500 Subject: [PATCH] fix pagination error --- lib/philomena_web/templates/admin/badge/user/index.html.slime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena_web/templates/admin/badge/user/index.html.slime b/lib/philomena_web/templates/admin/badge/user/index.html.slime index d41506bf..dda58bc2 100644 --- a/lib/philomena_web/templates/admin/badge/user/index.html.slime +++ b/lib/philomena_web/templates/admin/badge/user/index.html.slime @@ -3,7 +3,7 @@ h1 => @badge.title ' badge -- route = fn p -> Routes.admin_badge_user_path(@conn, :index, p) end +- route = fn p -> Routes.admin_badge_user_path(@conn, :index, @badge, p) end - pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @users, route: route, conn: @conn .block