Andrew 2 ay önce
ebeveyn
işleme
10bd5b58c1
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4
    4
      app/Models/User.php

+ 4
- 4
app/Models/User.php Dosyayı Görüntüle

14
     /** @use HasFactory<\Database\Factories\UserFactory> */
14
     /** @use HasFactory<\Database\Factories\UserFactory> */
15
     use HasFactory, Notifiable;
15
     use HasFactory, Notifiable;
16
 
16
 
17
+    public function canAccessPanel(Panel $panel): bool
18
+    {
19
+        return true;
20
+    }
17
     /**
21
     /**
18
      * The attributes that are mass assignable.
22
      * The attributes that are mass assignable.
19
      *
23
      *
48
         ];
52
         ];
49
     }
53
     }
50
 
54
 
51
-    public function canAccessPanel(Panel $panel): bool
52
-    {
53
-        return true;
54
-    }
55
 }
55
 }