Model fixes

This commit is contained in:
Graham Campbell
2015-01-04 13:39:34 +00:00
parent c025946aa8
commit 5370c1b68e
3 changed files with 3 additions and 10 deletions

View File

@@ -25,6 +25,6 @@ class WebHookResponse extends Model
*/
public function hook()
{
return $this->belongsTo('WebHook', 'id', 'hook_id');
return $this->belongsTo('CachetHQ\Cachet\Models\WebHook', 'id', 'hook_id');
}
}