Move current path transformation to links_for_render