From eb14aba8f1adb8f6b1eb9df5cebe83d25c06a0c7 Mon Sep 17 00:00:00 2001 From: Thibault Richy Date: Tue, 11 Jun 2019 17:14:24 +0200 Subject: [PATCH] test with --- app/Panier.php | 1 + 1 file changed, 1 insertion(+) 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