apps my page fixed empty page message ( #337ymcn )

This commit is contained in:
Cüneyt Şentürk
2022-07-27 11:34:08 +03:00
parent cebef2e563
commit 2e10309210
2 changed files with 21 additions and 3 deletions

View File

@ -3,9 +3,12 @@
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.
*
@ -13,6 +16,9 @@ class My extends Controller
*/
public function index()
{
return $this->response('modules.my.index');
$purchase = $this->getMyModules(['query' => ['limit' => 16]]);
$installed = $this->getInstalledModules();
return $this->response('modules.my.index', compact('purchase', 'installed'));
}
}