name('home'); Route::get('/', function () { return Inertia::render('Home'); })->name('home'); Route::middleware('throttle:training')->post( 'perceptron/run', [PerceptronController::class, 'run'], )->name('perceptron.run'); Route::post('perceptron/cancel', [PerceptronController::class, 'cancel']) ->name('perceptron.cancel') ->withoutMiddleware(StartSession::class); Route::resource('perceptron', PerceptronController::class)->only(['index']); Broadcast::routes();