- Fixed some routes with ending slash not matching on when using Ressource.
This commit is contained in:
Simon Sessingø
2016-06-04 18:44:33 +02:00
parent 53e5b5362f
commit 4169716f87
+1 -1
View File
@@ -301,7 +301,7 @@ abstract class RouterEntry {
$parameterValues = array();
if(preg_match('/^'.$regex.'$/is', $url, $parameterValues)) {
if(preg_match('/^'.$regex.'\/?$/is', $url, $parameterValues)) {
$parameters = array();