Add some default attributes to the Component model for description and link

This commit is contained in:
James Brooks
2015-02-20 08:49:51 +00:00
parent 382a04d18c
commit 2557230fda
+4 -2
View File
@@ -60,8 +60,10 @@ class Component extends Model implements TransformableInterface
* @var array
*/
protected $attributes = [
'order' => 0,
'group_id' => 0,
'order' => 0,
'group_id' => 0,
'description' => '',
'link' => '',
];
/**