Update Media model

This commit is contained in:
Daniel Supernault 2018-12-12 14:24:52 -07:00
parent c7e030cb30
commit 2c110283f9
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -46,7 +46,12 @@ class Media extends Model
{ {
$verb = 'Image'; $verb = 'Image';
switch ($this->mimeType()) { switch ($this->mimeType()) {
case 'audio':
$verb = 'Audio';
break;
case 'image': case 'image':
$verb = 'Image';
break; break;
case 'video': case 'video':