This commit is contained in:
philipp lang 2025-06-16 23:39:40 +02:00
parent ac592920e7
commit 5be7987d80
1 changed files with 4 additions and 4 deletions

View File

@ -56,11 +56,11 @@ class FormResource extends JsonResource
'links' => [
'participant_index' => route('form.participant.index', ['form' => $this->getModel(), 'parent' => null]),
'participant_root_index' => route('form.participant.index', ['form' => $this->getModel(), 'parent' => -1]),
'update' => route('form.update', ['form' => $this->getModel()]),
'destroy' => route('form.destroy', ['form' => $this->getModel()]),
'is_dirty' => route('form.is-dirty', ['form' => $this->getModel()]),
'update' => route('form.update', $this->getModel()),
'destroy' => route('form.destroy', $this->getModel()),
'is_dirty' => route('form.is-dirty', $this->getModel()),
'frontend' => str(app(FormSettings::class)->registerUrl)->replace('{slug}', $this->slug),
'export' => route('form.export', ['form' => $this->getModel()]),
'export' => route('form.export', $this->getModel()),
]
];
}