25 lines
496 B
PHP
Raw Normal View History

<?php
namespace App\Http\Controllers\Modules;
2019-11-16 10:21:14 +03:00
use App\Abstracts\Http\Controller;
use App\Traits\Modules;
class My extends Controller
{
use Modules;
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index()
{
$purchase = $this->getMyModules(['query' => ['limit' => 16]]);
$installed = $this->getInstalledModules();
return $this->response('modules.my.index', compact('purchase', 'installed'));
}
}