Drupal 8 - Redirect from a path

by Muhammad Tashfeen   Last Updated September 11, 2019 10:07 AM

I have a routing.yml file with a path which triggers a controller method. When the controller method finishes the operation I want to return user to the page he came from originally. I don't want to rely on the http_referer here as it is declared unsafe from Symfony already.


How can I approach this problem? Is there a way to do it using routing optional parameters? If so a little help would be appreciated.

Related Questions

what is process of downloading in getintopac.com?

Updated October 09, 2019 05:07 AM