You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a somewhat depressingly complex routing structure, and at the end of some routes I have a master-detail arrangement.
It's something like this, there are various levels of nested layouts, and clean-break layouts, which is why you see usage of _.
In the action for the detail screens, 'debtor' and 'order' I return redirect.
So I'm here:
I want to return
redirect('..')
so I go back to the parent, which I thought naively would be this:But it actually goes further up the router path:
Is there some way I can get the parent redirect behaviour I want? I really wanted to avoid an absolute redirect path here.
Beta Was this translation helpful? Give feedback.
All reactions