Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix post model comment class
  • Loading branch information
levijackson committed Jun 25, 2021
1 parent e932e82 commit 687103f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Post.php
Expand Up @@ -16,7 +16,7 @@ class Post extends Model
*/
public function comments()
{
return $this->hasMany('App\Models\Comments', 'post_id');
return $this->hasMany('App\Models\Comment', 'post_id');
}

/**
Expand Down

0 comments on commit 687103f

Please sign in to comment.