another fix for export import templates

This commit is contained in:
Simon Pocrnjič
2025-12-28 14:46:18 +01:00
parent b9f66cbfbe
commit 082a637719
3 changed files with 41 additions and 20 deletions
+5
View File
@@ -22,6 +22,11 @@ class ImportTemplate extends Model
'reactivate' => 'boolean',
];
public function getRouteKeyName(): string
{
return 'uuid';
}
public function user(): BelongsTo
{
return $this->belongsTo(User::class);