Skip to content

404 when callable is empty #15

@splashsky

Description

@splashsky

When you provide an empty callable, such as

$router->post('/auth/register', function() {
    
});

the router will return the 404 response rather than execute the callable. This is undesirable!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions