I have a route which runs a scritpt and I want to finish running when the redirect url where it came from such action, as this route is associated controller pordra even be accessed for execution from different sites of application
eg
index -> running Routing-> terminates and redirects to index.
post -> running Routing-> terminates and redirects to post.
...
bone according to redirecting from where the action
my question is whether there is some method in laravel 4 to capture the url or path where the application is to run the script?