Enabled Domain homepage

This commit is contained in:
Deon George
2021-06-14 21:33:18 +10:00
parent a3b4214040
commit 4011b2a82d
13 changed files with 205 additions and 70 deletions

View File

@@ -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);
}
}