Merge pull request #9674 from jvitasek/patch-3

Changed edit to save to match the Blade template
This commit is contained in:
Dan Harrin
2023-11-16 10:11:04 +00:00
committed by GitHub
+2 -2
View File
@@ -33,7 +33,7 @@ class {{ class }} extends Component implements HasForms
->model($this->record);
}
public function edit(): void
public function save(): void
{
$data = $this->form->getState();
@@ -44,4 +44,4 @@ class {{ class }} extends Component implements HasForms
{
return view('{{ view }}');
}
}
}