pomm-project / pomm-bundle

Pomm2 bundle for Symfony
81 stars 31 forks source link

Add NotFoundHttpException in EntityParamConverter #114

Open Nedeas opened 3 years ago

Nedeas commented 3 years ago

In ParamConverter, if an object is not found, a 404 Response is generated.

Reference : https://symfony.com/bundles/SensioFrameworkExtraBundle/current/annotations/converters.html

If no Post object is found, a 404 Response is generated;