This commit is contained in:
@@ -21,8 +21,9 @@ use App\Http\Controllers\ProductsCompareController;
|
||||
*/
|
||||
|
||||
Route::get('/', function () {
|
||||
return Inertia::render('IkeaRoot');
|
||||
return Inertia::render('IkeaRoot')->with('menu', (new App\Http\Controllers\Superuser\UserMenuController)->get() );
|
||||
})->name('root');
|
||||
Route::get('/menu/get', [App\Http\Controllers\Superuser\UserMenuController::class, 'get'])->name('menu.user');
|
||||
|
||||
Route::get('/ccountry/', [CountryCodeController::class, 'index'])->name('ccountry.index');
|
||||
Route::get('/ccountry/codes/', [CountryCodeController::class, 'codes'])->name('ccountry.codes');
|
||||
|
||||
Reference in New Issue
Block a user