backend: rename gallery_nav_pager -> nav_pager
This commit is contained in:
parent
5b8cbd37e5
commit
f2ee7e3db8
@ -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"),
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user