Permalink
Browse files

Merge pull request #865 from mokko/patch-1

more hook pod updates in lib/Dancer.pm
  • Loading branch information...
2 parents 4289e83 + 05e86dc commit b6e762996d22e24221ad07c231ce358756c83c31 @bigpresh bigpresh committed Nov 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Dancer.pm
View
@@ -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 :
@@ -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;
};

0 comments on commit b6e7629

Please sign in to comment.