Start your All-Access Pass to unlock this challenge
What are the benefits of the new $this->renderForm() shortcut method in a controller?
$this->renderForm()
It makes your code more readable and calls the createView() method on the form object
createView()
It calls createView() on the form object and adds the appropriate 422 response code when validation fails.
422
It makes your code more readable and adds the appropriate 422 response code when validation fails.