Merge pull request #17 from skipperbent/development

Development
This commit is contained in:
Simon Sessingø
2015-10-27 11:06:36 +01:00
+3
View File
@@ -102,6 +102,9 @@ class RouterBase {
// Make sure the urls is in the right order when comparing
usort($this->controllerUrlMap, function($a, $b) {
if(stripos($b->getUrl(), '{') !== false) {
return $a->getUrl();
}
return strcmp($b->getUrl(), $a->getUrl());
});