group(function () { //Route::get('/', []) Route::get('/fanatic/install', [CollectiveController::class, 'create']) ->name('collectives.create'); Route::post('/fanatic', [CollectiveController::class, 'store'])->name('collectives.store'); }); Route::middleware('auth')->group(function () { Route::get('/fanatic', [CollectiveController::class, 'dashboard'])->name('dashboard'); Route::resource('joined', JoinedController::class); });