Skip to content

Commit

Permalink
Update Router.php
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Jan 2, 2024
1 parent a353f8e commit c0ffa3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webfiori/framework/router/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ private function __construct() {
public static function addRoute(array $options) : bool {
$options['type'] = Router::CUSTOMIZED;

return Router::get()->addRouteHelper1($options);
return Router::getInstance()->addRouteHelper1($options);
}
/**
* Adds new route to a web services set.
Expand Down

0 comments on commit c0ffa3a

Please sign in to comment.