middleware([ 'auth' ]); Route::resource('record', RecordController::class)->middleware([ 'auth' ]);