Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

more hook pod updates in lib/Dancer.pm #865

Merged
merged 1 commit into from

2 participants

@mokko

more hook pod updates

@mokko mokko Update lib/Dancer.pm
more hook pod updates
05e86dc
@bigpresh
Owner

Thank you!

@bigpresh bigpresh merged commit b6e7629 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 24, 2012
  1. @mokko

    Update lib/Dancer.pm

    mokko authored
    more hook pod updates
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Dancer.pm
View
4 lib/Dancer.pm
@@ -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;
};
Something went wrong with that request. Please try again.