diff --git a/_routes.php b/_routes.php index c843bba..42c1016 100644 --- a/_routes.php +++ b/_routes.php @@ -70,7 +70,7 @@ )->setName('events_storeevent_add')->add($authenticate); $app->post( - '/event/edit/{id:\d}', + '/event/edit/{id:\d+}', [EventsController::class, 'doEdit'] )->setName('events_storeevent_edit')->add($authenticate);