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 $count = format_number time; # Grab epoch and add commas
|
||||||
my $fortune = `/usr/games/fortune` || `fortune` || "huh??\n";
|
my $fortune = `/usr/games/fortune` || `fortune` || "huh??\n";
|
||||||
|
|
||||||
$c->swaggSession();
|
|
||||||
|
|
||||||
$c->stash(
|
$c->stash(
|
||||||
count => $count,
|
count => $count,
|
||||||
fortune => $fortune
|
fortune => $fortune
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$c->swaggSession();
|
||||||
|
|
||||||
$c->render();
|
$c->render();
|
||||||
} => 'index';
|
} => 'index';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user