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
1 changed files with 1 additions and 1 deletions

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