Moved video files to public/videos directory, small refactoring.
This commit is contained in:
@@ -55,9 +55,7 @@ class Course extends Model
|
||||
public function totalSizeHuman(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: function () {
|
||||
return formatFileSize($this->total_size);
|
||||
},
|
||||
get: fn() => formatFileSize($this->total_size),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user