/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $artistes = Artiste::all(); $concerts = Concert::paginate(9); $villes = Concert::distinct()->select('Ville')->get(); $tags = Artiste::distinct()->select('Tags')->get(); return view('index', compact('artistes', 'villes', 'tags')); }