Comments + 1N relations

This commit is contained in:
Clément
2025-04-17 14:30:56 +02:00
parent ea0884d39f
commit dad50e035f
15 changed files with 380 additions and 29 deletions

View File

@@ -39,6 +39,8 @@ class BilletController extends Controller
public function show(Billet $billet)
{
//
$commentaires = $billet->commentaires;
return view('vBillet', compact('billet', 'commentaires'));
}
/**