Init
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user