Skip to content

Commit

Permalink
Revert adding head method to router (#30710)
Browse files Browse the repository at this point in the history
This reverts laravel/framework#30646 because it's incomplete and currently breaks the route:list command.

Closes laravel/framework#30708
  • Loading branch information
driesvints authored and taylorotwell committed Nov 29, 2019
1 parent 1a2b337 commit d171dbd
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,18 +132,6 @@ public function __construct(Dispatcher $events, Container $container = null)
$this->container = $container ?: new Container;
}

/**
* Register a new HEAD route with the router.
*
* @param string $uri
* @param \Closure|array|string|callable|null $action
* @return \Illuminate\Routing\Route
*/
public function head($uri, $action = null)
{
return $this->addRoute('HEAD', $uri, $action);
}

/**
* Register a new GET route with the router.
*
Expand Down

0 comments on commit d171dbd

Please sign in to comment.