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';