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:
@@ -9,6 +9,8 @@ use Laravel\Nova\Fields\BelongsTo;
|
||||
|
||||
class Event extends Resource
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* The model the resource corresponds to.
|
||||
*
|
||||
@@ -32,6 +34,11 @@ class Event extends Resource
|
||||
'id',
|
||||
];
|
||||
|
||||
public static function label()
|
||||
{
|
||||
return __('Events');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the fields displayed by the resource.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user