Revert "Match slashes in ../{id} resource routes"

This reverts commit 31f9be7a75.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/4381/head
Roeland Jago Douma 9 years ago
parent 24f5c44e2b
commit d12ec7cff1
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 8
      lib/private/AppFramework/Routing/RouteConfig.php

@ -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…
Cancel
Save