Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ecomevo's avatar

Redirecting after attaching to a Nova resource

After a Nova resource is created or updated, it's possible to redirect the user to a new page. How would we do this when attaching something to a resource?

For instance, suppose a Role is attached to a User and attaching certain roles should result in a redirect to add more information about the attachment. How could this be done?

Nova version 2.10.1

0 likes
3 replies
ecomevo's avatar

Those only work after updating and creating a specific resource. I need something that works after attaching relationships to a resource.

bobbybouwmann's avatar

This functionality does not exist as far as I know. You will have to build something like this for yourself. There are examples in the shared URL

Please or to participate in this conversation.