Skip to content

Commit

Permalink
Merge branch 'review/polettix' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Sukrieh committed Dec 27, 2010
2 parents 99aa74f + b41bc75 commit 172e326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dancer/Introduction.pod
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ the request with the next matching route.
This is done with the B<pass> keyword, like in the following example

get '/say/:word' => sub {
pass if (params->{word} =~ /^\d+$/);
return pass if (params->{word} =~ /^\d+$/);
"I say a word: ".params->{word};
};

Expand Down

0 comments on commit 172e326

Please sign in to comment.