This commit is contained in:
2023-11-19 20:58:40 +01:00
parent b3fdd071a2
commit d70be43c5d
48 changed files with 2864 additions and 25 deletions

View File

@@ -2,7 +2,7 @@
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
use App\Http\Controllers\CountryCodeController;
/*
|--------------------------------------------------------------------------
| Web Routes
@@ -14,10 +14,17 @@ use Inertia\Inertia;
|
*/
Route::get('/', function () {
return Inertia::render('IkeaRoot');
})->name('root');
Route::get('/ccountry/', [CountryCodeController::class, 'index'])->name('ccountry.index');
Route::get('/ccountry/active/', [CountryCodeController::class, 'active'])->name('ccountry.active');
Route::middleware(['auth:sanctum', config('jetstream.auth_session'), 'verified'])->group(function () {
Route::get('/', function () {
return Inertia::render('Dashboard');
})->name('dashboard');
// Route::get('/', function () {
// return Inertia::render('Dashboard');
// })->name('dashboard');
Route::prefix('/superuser')->name('superuser.')->group(function () {
Route::resource('permission', App\Http\Controllers\Superuser\PermissionController::class)->only([