'edit' => Pages\EditSettings::route('/{record}/edit'), should be 'edit' => Pages\EditSettings::route('/edit'),