Merge pull request #31 from danrye/patch-1

Minor: TagField typo in readme
This commit is contained in:
Christopher Pitt 2015-07-30 16:41:38 +12:00
commit 3bb0715835

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