Merge pull request #447 from andrewandante/BUGFIX/owns_featuredimage

give BlogPost ownership of FeaturedImage
This commit is contained in:
Daniel Hensby 2017-07-20 10:28:17 +01:00 committed by GitHub
commit bc741fb8b8

View File

@ -72,6 +72,13 @@ class BlogPost extends Page
'FeaturedImage' => Image::class 'FeaturedImage' => Image::class
); );
/**
* @var array
*/
private static $owns = array(
'FeaturedImage',
);
/** /**
* @var array * @var array
*/ */