Méthode constract de Laravel
public function __construct()
{
$this->middleware('auth')->except(['index','show']);
}
WinMaw
public function __construct()
{
$this->middleware('auth')->except(['index','show']);
}