Set the router on the controller.