Allow syndication targets to be added/edited in admin interface

This commit is contained in:
Jonny Barnes 2022-10-23 13:11:31 +01:00
parent ea8395a651
commit 0ddec78d09
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
7 changed files with 251 additions and 0 deletions

View file

@ -12,6 +12,22 @@ class SyndicationTarget extends Model
{
use HasFactory;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'uid',
'name',
'service_name',
'service_url',
'service_photo',
'user_name',
'user_url',
'user_photo',
];
/**
* The attributes that are visible when serializing the model.
*