Closed trobrock closed 1 month ago
Turns out this is only happening because this action :index
is our initial page load, and the turbo bridge is not setup yet to intercept the redirect.
Will close for now and will try and update with whatever solution we end up with.
We are sort of hacking around this for now by setting the start route to /native and in that action we are using Turbo.visit
to redirect once turbo is loaded. Feels hacky, but I'm not sure what other solutions exist.
We have a rails action that runs:
When this runs we get a call into
handle
on theNavigatorDelegate
for the request to:index
, but we don't get another call for the move to:other_action
.Are we doing something wrong, what's the best way to intercept and act on redirects?
Here is our delegate code: