Closed p8 closed 2 weeks ago
@jorgemanrubia @brunoprietog are either of you able to enable CI to execute for this PR?
Thanks @jorgemanrubia and @seanpdoyle !
Just wondering, but what if a turbo frame response renders the flash messages? Would this not then keep the messages and display them again (potentially) on another subsequent unrelated request?
A POST request can set the flash and return a redirect response. If a Turbo-Frame request that gets made before the redirect location gets called, the flash gets discared by the Turbo-Frame request.
By making sure a Turbo-Frame request keeps the flash, we can avoid this problem.