uses current url instead of default route for pagination links