Skip to content

Commit

Permalink
Update lib/Dancer.pm
Browse files Browse the repository at this point in the history
more hook pod updates
  • Loading branch information
mokko committed Nov 24, 2012
1 parent 4289e83 commit 05e86dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Dancer.pm
Expand Up @@ -842,7 +842,7 @@ Sets a response object with the content given.
When used as a return value from a filter, this breaks the execution flow and
renders the response immediately:
before sub {
hook before sub {
if ($some_condition) {
halt("Unauthorized");
# This code is not executed :
Expand Down Expand Up @@ -1827,7 +1827,7 @@ versions:
Provides an accessor for variables shared between filters and route handlers.
Given a key/value pair, it sets a variable:
before sub {
hook before sub {
var foo => 42;
};
Expand Down

0 comments on commit 05e86dc

Please sign in to comment.