laravel restrict route method code example
Example: laravel restrict route methods
public function __construct()
{
$this->middleware('auth')->except(['index', 'show']);
}
public function __construct()
{
$this->middleware('auth')->except(['index', 'show']);
}