From 97f2b40f4bb6652f94da167d9cb82892c37f980b Mon Sep 17 00:00:00 2001 From: Shannon Date: Thu, 10 Aug 2017 17:59:17 +1000 Subject: [PATCH] fixes tests --- src/Umbraco.Web/Models/Mapping/SectionModelMapper.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Umbraco.Web/Models/Mapping/SectionModelMapper.cs b/src/Umbraco.Web/Models/Mapping/SectionModelMapper.cs index 4f6015967d..787eea5bc4 100644 --- a/src/Umbraco.Web/Models/Mapping/SectionModelMapper.cs +++ b/src/Umbraco.Web/Models/Mapping/SectionModelMapper.cs @@ -11,6 +11,7 @@ namespace Umbraco.Web.Models.Mapping public override void ConfigureMappings(IConfiguration config, ApplicationContext applicationContext) { config.CreateMap() + .ForMember(section => section.RoutePath, x => x.Ignore()) .ForMember( dto => dto.Name, expression => expression.MapFrom(section => ui.Text("sections", section.Alias)))