Fixed double / when calling findUrl on routes with the first

parameter optional.
This commit is contained in:
Simon Sessingø
2017-08-17 23:31:27 +01:00
parent 5086347802
commit b7f5d31544
2 changed files with 16 additions and 0 deletions
@@ -144,6 +144,7 @@ abstract class LoadableRoute extends Route implements ILoadableRoute
}
}
$url = '/' . ltrim($url, '/');
$url .= join('/', $unknownParams);
return rtrim($url, '/') . '/';