Merge pull request #210 from defiant/master

Correct typo in Event Model method
This commit is contained in:
Dave Earley 2016-10-09 12:45:54 +01:00 committed by GitHub
commit 6196367064
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}