Fixed url generator, parameter $referenceType was not given to router