emberjs/ember.js — pull request #2818 by teddyzeenny (2013-06-11 21:35:07+00:00)
Title: visit helper should update router url before handling it

Router URL should be set before handling it, otherwise if a redirect happens during handling, the router URL will end up with the wrong URL.