Prevents calling routeComplete more than once if a redirect is placed in the controller.