add form json
This commit is contained in:
parent
3295c3da5f
commit
52cbb95648
|
@ -29,7 +29,9 @@ class Pilot
|
||||||
{
|
{
|
||||||
$this->register('form', $slug, function () use ($function) {
|
$this->register('form', $slug, function () use ($function) {
|
||||||
return [
|
return [
|
||||||
'json' => $function(),
|
'json' => [
|
||||||
|
'form' => $function()
|
||||||
|
],
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue