From 8534a4880be9bbc4097e2abc6d5d5cb64eeba601 Mon Sep 17 00:00:00 2001 From: Thomas Miceli Date: Mon, 17 Apr 2023 00:35:04 +0200 Subject: [PATCH] Fix admin panel url --- internal/web/admin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/web/admin.go b/internal/web/admin.go index 664a635..88b62b0 100644 --- a/internal/web/admin.go +++ b/internal/web/admin.go @@ -64,7 +64,7 @@ func adminUsers(ctx echo.Context) error { return errorRes(500, "Cannot get users", err) } - if err = paginate(ctx, data, pageInt, 10, "data", "admin/users", 1); err != nil { + if err = paginate(ctx, data, pageInt, 10, "data", "admin-panel/users", 1); err != nil { return errorRes(404, "Page not found", nil) } @@ -82,7 +82,7 @@ func adminGists(ctx echo.Context) error { return errorRes(500, "Cannot get gists", err) } - if err = paginate(ctx, data, pageInt, 10, "data", "admin/gists", 1); err != nil { + if err = paginate(ctx, data, pageInt, 10, "data", "admin-panel/gists", 1); err != nil { return errorRes(404, "Page not found", nil) }