diff --git a/src/Template/Bake/Element/Controller/edit.twig b/src/Template/Bake/Element/Controller/edit.twig index d06cb9c77..4d6d17dce 100644 --- a/src/Template/Bake/Element/Controller/edit.twig +++ b/src/Template/Bake/Element/Controller/edit.twig @@ -22,7 +22,7 @@ * * @param string|null $id {{ singularHumanName }} id. * @return \Cake\Http\Response|null Redirects on successful edit, renders view otherwise. - * @throws \Cake\Network\Exception\NotFoundException When record not found. + * @throws \Cake\Datasource\Exception\RecordNotFoundException When record not found. */ public function edit($id = null) {