mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 01:52:16 +00:00
[TASK] Moved group-middleware rendering to routeRequest to ensure all route-urls has been initialised.
- Optimisations.
This commit is contained in:
@@ -102,13 +102,8 @@ class RouterRoute extends RouterEntry {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(strtolower($this->getAlias()) === strtolower($name)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
return strtolower($this->getAlias()) === strtolower($name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user