Commit faccd9fd6d0a201984432bea5fbeca74ed19f580
1 parent
109f70fe
remarketing
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
console/controllers/FeedController.php
@@ -21,7 +21,7 @@ class FeedController extends Controller | @@ -21,7 +21,7 @@ class FeedController extends Controller | ||
21 | private $count = 1; | 21 | private $count = 1; |
22 | 22 | ||
23 | public function getProducts() { | 23 | public function getProducts() { |
24 | - return Product::find()->limit(10); | 24 | + return Product::find()->limit(10)->all(); |
25 | } | 25 | } |
26 | 26 | ||
27 | public function checkUrl($url){ | 27 | public function checkUrl($url){ |