25 lines
496 B
PHP
25 lines
496 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Modules;
|
|
|
|
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'));
|
|
}
|
|
}
|