Revert "Match slashes in ../{id} resource routes"
This reverts commit 31f9be7a75
.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
24f5c44e2b
commit
d12ec7cff1
1 changed files with 1 additions and 7 deletions
|
@ -231,15 +231,9 @@ class RouteConfig {
|
|||
|
||||
$routeName = $this->appName . '.' . strtolower($resource) . '.' . strtolower($method);
|
||||
|
||||
$route = $this->router->create($routeName, $url)->method($verb)->action(
|
||||
$this->router->create($routeName, $url)->method($verb)->action(
|
||||
new RouteActionHandler($this->container, $controllerName, $actionName)
|
||||
);
|
||||
|
||||
if (!$collectionAction) {
|
||||
$route->requirements([
|
||||
'id' => '[^?]*'
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue