mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
Nova getting started added
This commit is contained in:
@@ -12,6 +12,8 @@ use Laravel\Nova\Http\Requests\NovaRequest;
|
||||
|
||||
class User extends Resource
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* The model the resource corresponds to.
|
||||
* @var class-string<\App\Models\User>
|
||||
@@ -32,6 +34,11 @@ class User extends Resource
|
||||
'id', 'name', 'email',
|
||||
];
|
||||
|
||||
public static function label()
|
||||
{
|
||||
return __('Users');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the fields displayed by the resource.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user