Is there a way to "unwind" the routes that some user has gone through while on my web application? I currently have an Angular 4 app and am working on an
Here's what happens:
I was wondering if there was instead a way to go back to the previous page they were on before they visited the unauthorized page. So:
At this point, they click the
okay button and are taken back to the Customer Page.
Do I necessarily have to interact with routes? Maybe there is another way?
If the route URL is transformed to something like
https://mywebsite/unauthorized, I'd ideally want to navigate to the route that was hit before entering this state.