- Renamed Subscriber and RelationSubscriberList models to SList and
SubscriberList, respectively
This commit is contained in:
@ -16,6 +16,6 @@ class Subscriber extends Model {
|
||||
}
|
||||
|
||||
public function lists() {
|
||||
return self::has_many_through(__NAMESPACE__ . '\SubscriberList', __NAMESPACE__ . '\RelationSubscriberList', 'subscriber_id', 'list_id');
|
||||
return self::has_many_through(__NAMESPACE__ . '\SList', __NAMESPACE__ . '\SubscriberList', 'subscriber_id', 'list_id');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user