Minor: TagField typo in readme
Update BlogTags to BlogTag
This commit is contained in:
parent
5473c94a58
commit
b62c1b407e
|
@ -38,7 +38,7 @@ class BlogTag extends DataObject {
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$field = new TagField(
|
$field = new TagField(
|
||||||
'BlogTags', 'Blog Tags', BlogTags::get(), $post->BlogTags()
|
'BlogTags', 'Blog Tags', BlogTag::get(), $post->BlogTags()
|
||||||
);
|
);
|
||||||
|
|
||||||
$field->setShouldLazyLoad(true); // tags should be lazy loaded
|
$field->setShouldLazyLoad(true); // tags should be lazy loaded
|
||||||
|
|
Loading…
Reference in New Issue