1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-27 16:23:19 +01:00
This commit is contained in:
Luca 2018-09-05 22:22:21 +02:00
parent da0588af8b
commit 8f30875314

View File

@ -32,7 +32,7 @@ class Module extends Model
parent::boot(); parent::boot();
static::addGlobalScope('enabled', function (Builder $builder) { static::addGlobalScope('enabled', function (Builder $builder) {
$builder->where('enabled', true); //$builder->where('enabled', true);
}); });
static::addGlobalScope('permission', function (Builder $builder) { static::addGlobalScope('permission', function (Builder $builder) {