girvydas - 1 year ago
Hey, maybe anyone could suggest solution how to redirect to previous page after form save action. Ex.: Contacts module has Contacts and ContactPerson streams. Then user navigate from url: /admin/contacts/contacts/1/persons to /admin/contacts/persons/1 and "save&exit" it should return back to persons list, not contacts. Now it is returning back to main "section" which is set to be contacts. I've searched in code and found that there is RedirectGuesser responsible for that redirects… How I can globally change/achieve this? Create new actions? Set FormResponses? etc?