Correct typo in Event Model method
Committer: Sinan Taga <sinantaga@gmail.com>
This commit is contained in:
parent
f03170f939
commit
f8be96a6fe
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue