Syntax fix
This commit is contained in:
parent
d5455490bf
commit
83cc7b74e7
|
@ -4,7 +4,7 @@ use Mojolicious::Lite;
|
|||
|
||||
get '/' => sub {
|
||||
my ($c) = @_;
|
||||
my $fortune = `fortune` || 'huh??';
|
||||
my $fortune = `fortune` || "huh??\n";
|
||||
|
||||
$c->render(fortune => $fortune)
|
||||
} => 'index';
|
||||
|
|
Loading…
Reference in a new issue