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) }