Skip to content

Commit

Permalink
fixed typo in under example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jun 4, 2014
1 parent f69342b commit 016d38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Lite.pm
Expand Up @@ -540,7 +540,7 @@ routes are only evaluated if the callback returned a true value.
# Authenticated
my $name = $self->param('name') || '';
return 1 if $name eq '$self->stash('allow');
return 1 if $name eq $self->stash('allow');
# Not authenticated
$self->render('denied');
Expand Down

0 comments on commit 016d38f

Please sign in to comment.