We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a2b2da commit 74cd6f3Copy full SHA for 74cd6f3
Doctrine/Orm/RouteProvider.php
@@ -47,7 +47,7 @@ protected function getCandidates($url)
47
*/
48
public function getRouteByName($name, $parameters = array())
49
{
50
- $route = $this->getRoutesRepository()->findOneByName($name);
+ $route = $this->getRoutesRepository()->findBy(array('name' => $name));
51
if (!$route) {
52
throw new RouteNotFoundException("No route found for name '$name'");
53
}
0 commit comments