[BUGFIX] Bugfixes and optimisations

- Fixed support for multiple middlewares using array.
- Fixed match and parameters-match not not being merged when used on group.
This commit is contained in:
Simon Sessingø
2015-11-01 09:11:17 +01:00
parent b3f8910cab
commit f215eaa9cf
2 changed files with 20 additions and 9 deletions
+1
View File
@@ -58,6 +58,7 @@ class RouterBase {
$newPrefixes = $prefixes;
$mergedSettings = array_merge($settings, $route->getMergeableSettings());
if($route->getPrefix()) {
array_push($newPrefixes, rtrim($route->getPrefix(), '/'));
}