Skip to content

Commit a2186dc

Browse files
authored
Update ReRouteControllerModel.php
1 parent 0222082 commit a2186dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ReRouteControllerModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct(ReRouteInterface $reRoute)
3333
/**
3434
* Returns ResponseParameters to the given route with the given parameters.
3535
*
36-
* @param string $routeName The name of the route
36+
* @param string $routeName The name of the route
3737
* @param mixed $parameters An array of parameters
3838
*
3939
* @return ResponseParametersInterface
@@ -42,7 +42,7 @@ public function __construct(ReRouteInterface $reRoute)
4242
*/
4343
public function __invoke($routeName, $parameters = [], Request $request = null)
4444
{
45-
return new ResponseParameters([], $this->reRoute($route, $parameters));
45+
return new ResponseParameters([], $this->reRoute($routeName, $parameters));
4646
}
4747
}
4848

0 commit comments

Comments
 (0)