Skip to content

Commit

Permalink
there is also no need to return
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 29, 2014
1 parent e231b73 commit 9d02931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -679,7 +679,7 @@ which can be combined to solve some of hardest problems in web development.
return unless $tx->req->url->path->contains('/upload');

# Subscribe to "part" event to find the right one
return $multi->on(part => sub {
$multi->on(part => sub {
my ($multi, $single) = @_;

# Subscribe to "body" event of part to make sure we have all headers
Expand Down

0 comments on commit 9d02931

Please sign in to comment.