diff options
| author | Fbenas <philbeansburton@gmail.com> | 2020-06-21 17:58:23 +0100 | 
|---|---|---|
| committer | Fbenas <philbeansburton@gmail.com> | 2020-06-21 17:58:23 +0100 | 
| commit | 9cd0234665ea66dff172d94b9c1b4cb61b1d25b1 (patch) | |
| tree | 9cb5d13acbf3c5bb8c842620ceb8a104b41babb7 /app/Rugby/Model/Video.php | |
| parent | 8d6e8b306d7836e4075a13ad98617bfe5afaa1a0 (diff) | |
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() -        // );      }  } | 
