This commit is contained in:
Malibu
2015-02-17 22:39:53 +01:00
parent fe630d6683
commit 484e5f86ca
3 changed files with 61 additions and 4 deletions

View File

@ -17,6 +17,6 @@ class User extends Model {
public function scopeReferents($query)
{
return $query->where('admin', '0');
return $query->where('droits', '0');
}
}