visit helper update router url before handling it
Merge pull request #2818 from teddyzeenny/visit-url

visit helper should update router url before handling it