WebHook belongs to WebHookContent
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
class WebHookContent extends Eloquent {
|
||||
|
||||
public function hook() {
|
||||
return $this->belongsTo('WebHook', 'id', 'hook_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user