Zza: changed route handling for detail routes