apps my page fixed empty page message ( #337ymcn )
This commit is contained in:
@ -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'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user