1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/14262] Move convertor to controller

PHPBB3-14262
This commit is contained in:
Mate Bartus
2015-10-28 15:00:11 +01:00
parent 10756f3f87
commit a649768e17
17 changed files with 3082 additions and 3 deletions

View File

@@ -160,12 +160,13 @@ class helper
* Returns path from route name
*
* @param string $route_name
* @param array $parameters
*
* @return string
*/
public function route($route_name)
public function route($route_name, $parameters = array())
{
$url = $this->router->generate($route_name);
$url = $this->router->generate($route_name, $parameters);
return $url;
}