mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-10 23:52:14 +00:00
Fixes and development
- `$parameter` argument in `findUrl` method now supports both string, array and null value to avoid confusion. - Using return value in callbacks now displays value (issue: #257)
This commit is contained in:
@@ -49,7 +49,7 @@ class SimpleRouter
|
||||
*/
|
||||
public static function start()
|
||||
{
|
||||
static::router()->routeRequest();
|
||||
echo static::router()->routeRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user