You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
withPath does not match path without ending slash #11
$list = newRouteList();
$list->withPath('admin')
->addRoute('[<presenter>]');
$list->addRoute('[<presenter>]');
var_dump($list->match(newRequest(newUrlScript('http://localhost/admin/')))); // first route matchvar_dump($list->match(newRequest(newUrlScript('http://localhost/admin')))); // second route match
Activity
RouteList::withPath() trailing slash is optional [Closes #11]