diff options
Diffstat (limited to 'app/Rugby/Model/Video.php')
| -rw-r--r-- | app/Rugby/Model/Video.php | 5 | 
1 files changed, 1 insertions, 4 deletions
| diff --git a/app/Rugby/Model/Video.php b/app/Rugby/Model/Video.php index 2182b65..48da15e 100644 --- a/app/Rugby/Model/Video.php +++ b/app/Rugby/Model/Video.php @@ -10,7 +10,7 @@ class Video extends Model  {      protected $table = 'videos';      protected $casts = ['date' => 'datetime:Y-m-d']; -    protected $fillable = ['path']; +    protected $fillable = ['path', 'url'];      public function match()      { @@ -27,8 +27,5 @@ class Video extends Model      public function getUrl(): string      {          return asset('storage/matches/' . $this->getFilename()); -        // return Storage::disk('local')->url( -        //     'matches/' . $this->getFilename() -        // );      }  } | 
