diff --git a/app/Panier.php b/app/Panier.php index 79f84b8..e26f8a0 100644 --- a/app/Panier.php +++ b/app/Panier.php @@ -21,6 +21,7 @@ class Panier extends Model */ public $timestamps = false; + protected $with = ['panierContents']; /** * OneToMany * Panier -> PanierContent