- Renamed List model to Segment

This commit is contained in:
MrCasual
2015-09-02 09:29:54 -04:00
parent 78a2a50af7
commit 64756c865d
8 changed files with 109 additions and 109 deletions

View File

@@ -16,6 +16,6 @@ class Subscriber extends Model {
}
public function lists() {
return self::has_many_through(__NAMESPACE__ . '\SList', __NAMESPACE__ . '\SubscriberList', 'subscriber_id', 'list_id');
return self::has_many_through(__NAMESPACE__ . '\Segment', __NAMESPACE__ . '\SubscriberSegment', 'subscriber_id', 'list_id');
}
}