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

Merge pull request #4017 from CHItA/ticket/14262

[ticket/14262] Move convertor to controller

* CHItA/ticket/14262:
  [ticket/14262] Add error handling and small CS fixes
  [ticket/14262] Remove converter template duplicate
  [ticket/14262] Fix stage navigation
  [ticket/14262] Move convertor to controller
This commit is contained in:
Tristan Darricau
2016-02-02 21:29:20 +01:00
16 changed files with 2944 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;
}