From f47556e172e5889f790e767214a3907a1fa78c0b Mon Sep 17 00:00:00 2001 From: swaggboi Date: Fri, 12 Mar 2021 23:27:18 -0500 Subject: [PATCH] Clean up --- www-swagg.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www-swagg.pl b/www-swagg.pl index 41e3597..5dd65b6 100755 --- a/www-swagg.pl +++ b/www-swagg.pl @@ -33,13 +33,13 @@ get '/' => sub { my $count = format_number time; # Grab epoch and add commas my $fortune = `/usr/games/fortune` || `fortune` || "huh??\n"; - $c->swaggSession(); - $c->stash( count => $count, fortune => $fortune ); + $c->swaggSession(); + $c->render(); } => 'index';