group(function () { Route::get('/token/{id}', function ($id) { return $id; // todo return the token from participant auth controller }); }); Route::get('/', function () { return view('welcome'); })->name('home'); Volt::route('start', 'pages.start')->name('start'); Volt::route('profile', 'pages.profile')->name('profile'); Volt::route('withdraw', 'pages.withdraw')->name('withdraw'); Route::middleware(['auth'])->group(function () { });