Syntax fix

This commit is contained in:
swagg boi 2021-02-28 02:27:38 -05:00
parent d5455490bf
commit 83cc7b74e7

View file

@ -4,7 +4,7 @@ use Mojolicious::Lite;
get '/' => sub { get '/' => sub {
my ($c) = @_; my ($c) = @_;
my $fortune = `fortune` || 'huh??'; my $fortune = `fortune` || "huh??\n";
$c->render(fortune => $fortune) $c->render(fortune => $fortune)
} => 'index'; } => 'index';