/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { $cmd = new Commande(); $detailCom = $cmd->find($id); /*$cmdClis = $cmd->getProduitCommande($id); $client = new Client; $detailCli = $client->getById($idCli); return View::make('commande.show') ->with('detailCom', $detailCom) ->with('cmdClis', $cmdClis) ->with('detailCli', $detailCli);*/ }