Skip to content

Typo at documentation #1230

@KES777

Description

@KES777

It is here

hook before sub {
    if ($some_condition) {
        halt("Unauthorized");
        # This code is not executed :
        do_stuff();
    }
};
 
get '/' => sub {
    "hello there";
};

must be hook before => sub {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions