Minor: TagField typo in readme

Update BlogTags to BlogTag
This commit is contained in:
Dan 2015-07-30 00:40:44 -04:00
parent 5473c94a58
commit b62c1b407e

View File

@ -38,7 +38,7 @@ class BlogTag extends DataObject {
```php
$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