mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 08:47:52 +00:00
Fixed typo
This commit is contained in:
@@ -159,7 +159,7 @@ class RouteGroup extends Route implements IGroupRoute
|
||||
* @param string $url
|
||||
* @return static
|
||||
*/
|
||||
public function prependUrl(string $url): IGroupRoute
|
||||
public function prependPrefix(string $url): IGroupRoute
|
||||
{
|
||||
return $this->setPrefix(rtrim($url, '/') . $this->prefix);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user