Merge pull request #89 from skipperbent/development

[BUGFIX] Fixed notice
This commit is contained in:
Simon Sessingø
2016-04-09 15:39:12 +02:00
+4 -1
View File
@@ -102,10 +102,13 @@ class RouterRoute extends RouterEntry {
return true;
}
}
}
} else {
return strtolower($this->getAlias()) === strtolower($name);
}
return false;
}
/**
* Set the url alias for easier getting the url route.
* @param string|array $alias