From af34fab461c5c156d9a44167601ff5019d5d0d16 Mon Sep 17 00:00:00 2001 From: Joe Chenevey Date: Mon, 18 Mar 2019 10:55:41 -0400 Subject: [PATCH] Update 00_CSV_Import.md Fix reference in `$model_importers` to use `Player::class` for namespaced model reference. --- docs/en/02_Developer_Guides/11_Integration/00_CSV_Import.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/02_Developer_Guides/11_Integration/00_CSV_Import.md b/docs/en/02_Developer_Guides/11_Integration/00_CSV_Import.md index 774d2dc2b..e460e998e 100644 --- a/docs/en/02_Developer_Guides/11_Integration/00_CSV_Import.md +++ b/docs/en/02_Developer_Guides/11_Integration/00_CSV_Import.md @@ -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'; }