Enabled Domain homepage
This commit is contained in:
@@ -17,13 +17,5 @@ class Zone extends Model
|
||||
return $this->belongsTo(Domain::class);
|
||||
}
|
||||
|
||||
/* SCOPES */
|
||||
|
||||
/**
|
||||
* Only query active records
|
||||
*/
|
||||
public function scopePublic()
|
||||
{
|
||||
return $this->where('public',TRUE);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user