Skip to content

Commit

Permalink
Update ApiRouter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayfroiden authored Aug 4, 2022
1 parent 5d6856f commit d05beef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Routing/ApiRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function addRoute($methods, $uri, $action)
$route->prefix($prefix);
}

$routes->add($route);
// $routes->add($route);

// Options route
$route = $this->createRoute(['OPTIONS'], $uri, ['uses' => '\Froiden\RestAPI\Routing\ApiRouter@returnRoute']);
Expand Down

0 comments on commit d05beef

Please sign in to comment.