give BlogPost ownership of FeaturedImage

This commit is contained in:
Andrew Aitken-Fincham 2017-06-20 21:07:30 +01:00
parent a28861c352
commit 409b4190a3
1 changed files with 7 additions and 0 deletions

View File

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