How can a controller change the url reported to browser?


I have got two routes – one is for pausing mail jobs, the other one for listing them.

When I click on “pause” – the pause route:

  1. does it’s thing
  2. internally calls the list route with a couple of extra nontrivial parameters and fetches it’s render array
  3. returns render array

However, I’d like the browser to report the url of the list-route instead of the pause-route. How can I achieve this?

قالب وردپرس