Clean up
This commit is contained in:
parent
3fecb71e1e
commit
f47556e172
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue