Skip to content

Commit

Permalink
Typo on relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonagnew committed Jun 10, 2015
1 parent 5b16bc3 commit 52b38a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Herbert/Framework/Models/Comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Comment extends Model {
*/
public function post()
{
return $this->belongsTo(__NAMESPACE__ . '/Post', 'comment_post_ID');
return $this->belongsTo(__NAMESPACE__ . '\Post', 'comment_post_ID');
}

/**
Expand Down

0 comments on commit 52b38a8

Please sign in to comment.