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:
@@ -125,7 +125,8 @@ class BookCase extends Resource
|
||||
|
||||
MorphMany::make(__('Comments'), 'comments', Comment::class),
|
||||
|
||||
BelongsTo::make(__('Created By'), 'createdBy', User::class)->onlyOnIndex(),
|
||||
BelongsTo::make(__('Created By'), 'createdBy', User::class)
|
||||
->exceptOnForms(),
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user