/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { $ligne = Ligne::with('arrets')->findOrFail($id); $arrets = $ligne->arrets()->get(); return view('lignes.show', compact('ligne', 'arrets')); }