Apps hoe page add top paid, new, top free

This commit is contained in:
Cüneyt Şentürk
2017-12-06 21:29:43 +03:00
parent 8de2439002
commit 098ed4b26a
2 changed files with 15 additions and 9 deletions

View File

@ -19,9 +19,15 @@ class Home extends Controller
{
$this->checkApiToken();
$paid = $this->getPaidModules();
$new = $this->getNewModules();
$free = $this->getFreeModules();
$data = [
'query' => [
'limit' => 4
]
];
$paid = $this->getPaidModules($data);
$new = $this->getNewModules($data);
$free = $this->getFreeModules($data);
return view('modules.home.index', compact('paid', 'new', 'free'));
}