From c5c71b16a236d35ec40e7323639fc3ec82569f5b Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Fri, 2 Sep 2022 08:59:29 +0100 Subject: [PATCH] #928 404 page template broken --- lib/App/Netdisco/Web.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Netdisco/Web.pm b/lib/App/Netdisco/Web.pm index 397dc08e..371e46bc 100644 --- a/lib/App/Netdisco/Web.pm +++ b/lib/App/Netdisco/Web.pm @@ -367,7 +367,7 @@ hook 'after' => sub { any qr{.*} => sub { var('notfound' => true); status 'not_found'; - template 'index'; + template 'index', {}, { layout => 'main' }; }; true;