fix admin routes on vuejs

This commit is contained in:
Jack Goh
2018-06-21 16:35:09 +08:00
parent efb5f21567
commit 9acf2a773e
5 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ class User extends Authenticatable implements JWTSubject
*/
public function getRoleAttribute()
{
// return $this->roles->first()->name;
return $this->roles->first()->name;
}
/**