From f8be96a6feb2b9b5fbc62d0b4a7f6c1eddeb3036 Mon Sep 17 00:00:00 2001 From: Sinan Taga Date: Fri, 7 Oct 2016 13:46:35 +0300 Subject: [PATCH] Correct typo in Event Model method Committer: Sinan Taga --- app/Models/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Event.php b/app/Models/Event.php index 0531a930..ad13e16f 100644 --- a/app/Models/Event.php +++ b/app/Models/Event.php @@ -56,7 +56,7 @@ class Event extends MyBaseModel * * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany */ - public function questions_with_tashed() + public function questions_with_trashed() { return $this->belongsToMany('\App\Models\Question', 'event_question')->withTrashed(); }