How to redirect to a certain route based on condition?

Posted by Andre Scott | Updated on

Want to redirect to a certain route based on condition? After some diving through some documentation and source code, I think I got it working. Perhaps this will be useful for someone else.

I added the following to my module configuration:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers