This commit is contained in:
swaggboi 2021-03-13 02:19:51 -05:00
parent 051ff9a912
commit 2d9bfe76c5

View File

@ -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