Open
Description
Hi,
I'm getting the page reloaded after redirect_back from a turbo_stream request, in simple words:
- Submit a form (from the show action from the first controller) that goes with formats turbo_stream (Why formats turbo_stream? Because I need to render the errors back to the form if any)
- The request goes to the second controller to be processed and then in this controller we redirect_back
- The request is now back to the first controller and arrived as a turbo_stream request and there I render the show template as
formats: :html
- I get the show view rendered and it loads the first time (which is good) and then it reloads it again for a second time (which is wrong)
Take a look here:
The question is, how may I prevent the second loading to happen?
Thanks.
Metadata
Assignees
Labels
No labels
Activity