Segment listing
- fixed duplicate entry in Robofile for editor styles - added Segment menu - added Segment listing - added listing methods to Segment model - fixed syntax in both Segment & Subscriber models (MAX LINE 80!!!)
This commit is contained in:
@ -63,6 +63,11 @@ class Subscriber extends Model {
|
||||
}
|
||||
|
||||
public function segments() {
|
||||
return $this->has_many_through(__NAMESPACE__ . '\Segment', __NAMESPACE__ . '\SubscriberSegment', 'subscriber_id', 'segment_id');
|
||||
return $this->has_many_through(
|
||||
__NAMESPACE__.'\Segment',
|
||||
__NAMESPACE__.'\SubscriberSegment',
|
||||
'subscriber_id',
|
||||
'segment_id'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user