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

victor1974's avatar

Laravel nova page reload after Action

I'm not able to reload the current index page after an Action execution, redirect to the current page does not reload the page, so changes made by the action are not displayed and user has to reload the page manually any ideas ?

0 likes
3 replies
otrsw's avatar

If your action returns a redirect it should reload (we use this approach a lot)

return Action::redirect( 'yoururl' );

Where yoururl would be the index or detail page depending on where you launch your action from.

Sample from a working project where we have Application models:

'admin/resources/applications'

or

'admin/resources/applications/' . $model->id

victor1974's avatar

if i'm in admin/resources/apps/3 and i run an action and action return a redirect to the same page admin/resources/apps/3 page is not reloaded

aktolman's avatar

I need to reload linked resources, but would rather not do it with a redirect, and just refresh the actual resources. Is there a way to do this when running an action?

Please or to participate in this conversation.