18 lines
412 B
PHP
18 lines
412 B
PHP
<?php
|
|
|
|
namespace App\Domains\Admin\Controllers;
|
|
|
|
use App\Providers\InertiaProvider;
|
|
use App\Scopes\CommonController;
|
|
use Illuminate\Http\Request;
|
|
use Inertia\Response;
|
|
|
|
class AdminDashboardController extends CommonController
|
|
{
|
|
public function __invoke(Request $request): Response
|
|
{
|
|
$inertiaProvider = new InertiaProvider('Admin/Dashboard', []);
|
|
return $inertiaProvider->render();
|
|
}
|
|
}
|