change user policy

This commit is contained in:
Fateme
2020-06-05 17:17:55 +04:30
parent 42934693ce
commit 2ff59d29d0
10 changed files with 23 additions and 13 deletions
+8
View File
@@ -73,4 +73,12 @@ class User extends Authenticatable
{
return $this->hasMany('App\Item');
}
public function labels()
{
return $this->hasMany('App\Label');
}
public function cycles()
{
return $this->hasMany('App\Cycle');
}
}