Fixed templates config in AbstractResourceExtension