backend: rename gallery_nav_pager -> nav_pager

This commit is contained in:
Lucas 2023-02-19 11:27:45 +00:00
parent 5b8cbd37e5
commit f2ee7e3db8

View File

@ -21,7 +21,7 @@ sub http_tiny ()
);
}
sub gallery_nav_pager ($$)
sub nav_pager ($$)
{
my ($p, $uri) = @_;
@ -67,7 +67,7 @@ get "/" => sub {
template "gallery" => {
title => "PoorBooru",
media => \@media,
pager => gallery_nav_pager($data->{pager}, "/"),
pager => nav_pager($data->{pager}, "/"),
};
};
@ -90,7 +90,7 @@ get "/tags" => sub {
template "tags" => {
title => "Tags",
tags => \@tags,
pager => gallery_nav_pager($data->{pager}, "/tags"),
pager => nav_pager($data->{pager}, "/tags"),
};
};