mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-13 06:56:48 +00:00
exceptOnForms for createdBy
This commit is contained in:
@@ -94,7 +94,8 @@ class Podcast extends Resource
|
||||
|
||||
HasMany::make(__('Episodes'), 'episodes', Episode::class),
|
||||
|
||||
BelongsTo::make(__('Created By'), 'createdBy', User::class)->onlyOnIndex(),
|
||||
BelongsTo::make(__('Created By'), 'createdBy', User::class)
|
||||
->exceptOnForms(),
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user