diff options
author | Mate Bartus <mate.bartus@gmail.com> | 2015-10-28 15:00:11 +0100 |
---|---|---|
committer | Mate Bartus <mate.bartus@gmail.com> | 2016-01-29 00:03:44 +0100 |
commit | a649768e17d25bcf55ae539420abe4eb4b7a1ef1 (patch) | |
tree | f8441c9c77054d6a58bd1e8befa8842ef180be4a /phpBB/phpbb/install/controller/helper.php | |
parent | 10756f3f87efac29448a48207548d5b71a3206b9 (diff) | |
download | forums-a649768e17d25bcf55ae539420abe4eb4b7a1ef1.tar forums-a649768e17d25bcf55ae539420abe4eb4b7a1ef1.tar.gz forums-a649768e17d25bcf55ae539420abe4eb4b7a1ef1.tar.bz2 forums-a649768e17d25bcf55ae539420abe4eb4b7a1ef1.tar.xz forums-a649768e17d25bcf55ae539420abe4eb4b7a1ef1.zip |
[ticket/14262] Move convertor to controller
PHPBB3-14262
Diffstat (limited to 'phpBB/phpbb/install/controller/helper.php')
-rw-r--r-- | phpBB/phpbb/install/controller/helper.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/phpbb/install/controller/helper.php b/phpBB/phpbb/install/controller/helper.php index 2dad42b4b6..6859414236 100644 --- a/phpBB/phpbb/install/controller/helper.php +++ b/phpBB/phpbb/install/controller/helper.php @@ -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; } |