adds m.route config to legacy editing link