Skip to content

Commit

Permalink
Merge pull request #1771 from gonpre/bugfix/1770_api_routes_error_lar…
Browse files Browse the repository at this point in the history
…avel_8

Fix php artisan api:routes
  • Loading branch information
specialtactics authored Apr 30, 2021
2 parents ef9dc3e + d955589 commit 98d40be
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Routing/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -850,4 +850,14 @@ public function currentRouteUses($action)
{
return $this->currentRouteAction() == $action;
}

/**
* Flush the router's middleware groups.
*
* @return $this
*/
public function flushMiddlewareGroups()
{
return $this;
}
}

0 comments on commit 98d40be

Please sign in to comment.