mark
mark copied to clipboard
Added support of nested groups for routing
You can now safely create nested route groups
$api->group('/1', function ($api) {
$api->get('/1', function () {
return '1';
});
$api->group('/2', function ($api) {
$api->get('/2', function () {
return '2';
});
});
});