Skip to content

Patched deep routing within groups

Compare
Choose a tag to compare
@dcblogdev dcblogdev released this 10 Apr 10:49
· 2724 commits to master since this release

Associated with the case presented by #715, right now the Routing doesn't support Deep Grouping, aka grouping the Routes until one of them come to have an empty "route" parameter. For example:

Router::group('admin', function() {
    Router::any('', 'App\Controllers\Admin\Dashboard@index');
    ...
});

This PR fix the behavior and permit to have that Deep Grouping.