From d6a9bbb350470bc247cae7b87d7b28ad5565847f Mon Sep 17 00:00:00 2001 From: Ben Kuhl Date: Sat, 30 Jan 2016 21:23:49 -0500 Subject: [PATCH] relationship now correctly uses the orders model --- src/Traits/ShopTransactionTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/ShopTransactionTrait.php b/src/Traits/ShopTransactionTrait.php index 2c36779..20f3251 100644 --- a/src/Traits/ShopTransactionTrait.php +++ b/src/Traits/ShopTransactionTrait.php @@ -24,7 +24,7 @@ trait ShopTransactionTrait */ public function order() { - return $this->belongsTo(Config::get('shop.order_table'), 'order_id'); + return $this->belongsTo(Config::get('shop.order'), 'order_id'); } /**