mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update 00_CSV_Import.md
Fix reference in `$model_importers` to use `Player::class` for namespaced model reference.
This commit is contained in:
parent
19e5e9197f
commit
af34fab461
@ -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';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user