Update 00_CSV_Import.md

Fix reference in `$model_importers` to use `Player::class` for namespaced model reference.
This commit is contained in:
Joe Chenevey 2019-03-18 10:55:41 -04:00 committed by GitHub
parent 19e5e9197f
commit af34fab461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ class PlayerAdmin extends ModelAdmin
Player::class
];
private static $model_importers = [
'Player' => CsvBulkLoader::class,
Player::class => CsvBulkLoader::class,
];
private static $url_segment = 'players';
}