added it_get_public_thumbnail test

This commit is contained in:
Peter Papp
2021-03-10 09:18:14 +01:00
parent aecdf56304
commit 1045423692
3 changed files with 60 additions and 5 deletions

View File

@@ -29,6 +29,11 @@ class Share extends Model
return url('/shared', ['token' => $this->attributes['token']]);
}
public function user()
{
return $this->hasOne(User::class, 'id', 'user_id');
}
/**
* Model events
*/