I am routing my user's to third party URL.
Now whenever they are routing there is a blank page or default tab which is open is displaying, but they are actually redirecting on that URL.
What i want to do like as soon as that routing first function called i need to put page loader there so user's come to know that they are redirecting.
How can i do that in controller ? I can load view file i know but after that remaining code will not work of that function.
Guide me over here.
Thanks in advance.
I tried loading view file but it was not run remaining code.