Lint
This commit is contained in:
parent
ac592920e7
commit
5be7987d80
|
@ -56,11 +56,11 @@ class FormResource extends JsonResource
|
||||||
'links' => [
|
'links' => [
|
||||||
'participant_index' => route('form.participant.index', ['form' => $this->getModel(), 'parent' => null]),
|
'participant_index' => route('form.participant.index', ['form' => $this->getModel(), 'parent' => null]),
|
||||||
'participant_root_index' => route('form.participant.index', ['form' => $this->getModel(), 'parent' => -1]),
|
'participant_root_index' => route('form.participant.index', ['form' => $this->getModel(), 'parent' => -1]),
|
||||||
'update' => route('form.update', ['form' => $this->getModel()]),
|
'update' => route('form.update', $this->getModel()),
|
||||||
'destroy' => route('form.destroy', ['form' => $this->getModel()]),
|
'destroy' => route('form.destroy', $this->getModel()),
|
||||||
'is_dirty' => route('form.is-dirty', ['form' => $this->getModel()]),
|
'is_dirty' => route('form.is-dirty', $this->getModel()),
|
||||||
'frontend' => str(app(FormSettings::class)->registerUrl)->replace('{slug}', $this->slug),
|
'frontend' => str(app(FormSettings::class)->registerUrl)->replace('{slug}', $this->slug),
|
||||||
'export' => route('form.export', ['form' => $this->getModel()]),
|
'export' => route('form.export', $this->getModel()),
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue