The section mapping was reversed, so werent translated

This commit is contained in:
perploug
2013-11-28 13:20:52 +01:00
parent 98a0208b47
commit a7cd18c3d2

View File

@@ -10,7 +10,7 @@ namespace Umbraco.Web.Models.Mapping
{
public override void ConfigureMappings(IConfiguration config, ApplicationContext applicationContext)
{
config.CreateMap<Section, Core.Models.Section>()
config.CreateMap<Core.Models.Section, Section>()
.ForMember(
dto => dto.Name,
expression => expression.MapFrom(section => ui.Text("sections", section.Alias)))