Refactor ControllerUrl.