How can I change the redirect url of the cancel button on the create page?

When I'm on the create page and I press the cancel button I get automatically redirected to the resource's list page. I don't want that, instead I want to be able to customize where the user is redirected after cancelling. How can I do that?
Was this page helpful?