mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
orderByDesc orderBy
This commit is contained in:
@@ -36,6 +36,11 @@ class Meetup extends Resource
|
||||
'city.name',
|
||||
];
|
||||
|
||||
public static $with = [
|
||||
'city',
|
||||
'createdBy',
|
||||
];
|
||||
|
||||
public static function afterCreate(NovaRequest $request, Model $model)
|
||||
{
|
||||
auth()
|
||||
|
||||
@@ -35,6 +35,11 @@ class MeetupEvent extends Resource
|
||||
'meetup.name',
|
||||
];
|
||||
|
||||
public static $with = [
|
||||
'meetup',
|
||||
'createdBy',
|
||||
];
|
||||
|
||||
public static function label()
|
||||
{
|
||||
return __('Meetup Event');
|
||||
|
||||
Reference in New Issue
Block a user