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'); Route::middleware(['auth'])->group(function () { Volt::route('start', 'start')->name('start'); Volt::route('profile', 'profile')->name('profile'); Volt::route('withdraw', 'withdraw')->name('withdraw'); });