Merge pull request #9923 from danielpina/patch-1

DOC Update 01_ModelAdmin.md
This commit is contained in:
Steve Boyd 2021-08-05 16:32:09 +12:00 committed by GitHub
commit 715208539e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ class MyAdmin extends ModelAdmin
// This format can be used to customise the URL segment for this Model. This can
// be useful if you do not want the fully qualified class name of the Model to
// appear in the URL. It can also be used to have the same Model appear more than
// once, allowing you to create custom views.
// once, allowing you to create custom views. (Only available in SS4.7+)
'product-category' => [
'dataClass' => Category::class,
'title' => 'Product categories'