diff --git a/Exercise.php b/Exercise.php deleted file mode 100644 index 239450f..0000000 --- a/Exercise.php +++ /dev/null @@ -1,25 +0,0 @@ -belongsToMany(Course::class, 'course_exercise'); - } - public function users() - { - return $this->belongsToMany(User::class, 'exercise_user')->withPivot('completed'); - } - public function getGifUrlAttribute() -{ - return Storage::url($this->gif_path); -} -}