mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
exceptOnForms for createdBy
This commit is contained in:
@@ -109,7 +109,8 @@ class Course extends Resource
|
||||
BelongsToMany::make(__('Categories'), 'categories', Category::class)
|
||||
->onlyOnDetail(),
|
||||
|
||||
BelongsTo::make(__('Created By'), 'createdBy', User::class)->onlyOnIndex(),
|
||||
BelongsTo::make(__('Created By'), 'createdBy', User::class)
|
||||
->exceptOnForms(),
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user