[BUGFIX] Fixed router not loading show method

This commit is contained in:
Simon Sessingø
2015-10-07 13:26:41 +02:00
parent 2ff88f9ed4
commit a1271f1c89
+1 -1
View File
@@ -55,7 +55,7 @@ class RouterRessource extends RouterEntry {
$url = parse_url($url);
$url = $url['path'];
if(strtolower($url) == strtolower($this->url) || stripos($url, $this->url . '/') === 0) {
if(strtolower($url) == strtolower($this->url) || stripos($url, $this->url) === 0) {
$url = rtrim($url, '/');
$strippedUrl = trim(substr($url, strlen($this->url)), '/');