Currently, it is standard to have the ref on both the way and the relation. Not all data consumers honor the relation (notably openstreetmap-carto), so please don't remove refs from roads for this reason. There is a section that talks about this on the wiki page: https://wiki.openstreetmap.org/wiki/Key:ref#Examples_on_ways