Commit 109f70fe1c77836552c2c84de2ac5d32fd7209f5
1 parent
01cdef5d
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()->all()->limit(10); | 24 | + return Product::find()->limit(10); |
25 | } | 25 | } |
26 | 26 | ||
27 | public function checkUrl($url){ | 27 | public function checkUrl($url){ |