From 2d9bfe76c57dccc200690ba206f28e04d26476b5 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Sat, 13 Mar 2021 02:19:51 -0500 Subject: [PATCH] Clean up --- www-swagg.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www-swagg.pl b/www-swagg.pl index cd7a33d..e879338 100755 --- a/www-swagg.pl +++ b/www-swagg.pl @@ -93,9 +93,8 @@ get '/ula6' => sub { # Default route get '/:route' => [route => [qw{die me news}]] => sub { my ($c) = @_; - my $route = $c->stash('route'); - $c->render(template => $route); + $c->render(template => $c->stash('route')); }; # Send it