From f2ee7e3db8c2b4c64006055774546ce2534e7c8a Mon Sep 17 00:00:00 2001 From: Lucas Date: Sun, 19 Feb 2023 11:27:45 +0000 Subject: [PATCH] backend: rename gallery_nav_pager -> nav_pager --- lib/PoorBooru.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/PoorBooru.pm b/lib/PoorBooru.pm index 57f7f14..9f53b22 100644 --- a/lib/PoorBooru.pm +++ b/lib/PoorBooru.pm @@ -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"), }; };