WebHook belongs to WebHookContent

This commit is contained in:
James Brooks 2014-11-22 14:01:43 +00:00
parent 69105b3828
commit 38770c6dcc

View File

@ -1,5 +1,7 @@
<?php
class WebHookContent extends Eloquent {
public function hook() {
return $this->belongsTo('WebHook', 'id', 'hook_id');
}
}