Fix build after merge
This commit is contained in:
@@ -274,7 +274,7 @@ namespace Umbraco.Web.Mvc
|
|||||||
//the template Alias should always be already saved with a safe name.
|
//the template Alias should always be already saved with a safe name.
|
||||||
//if there are hyphens in the name and there is a hijacked route, then the Action will need to be attributed
|
//if there are hyphens in the name and there is a hijacked route, then the Action will need to be attributed
|
||||||
// with the action name attribute.
|
// with the action name attribute.
|
||||||
var templateName = global::umbraco.cms.helpers.Casing.SafeAlias(publishedContentRequest.Template.Alias.Split('.')[0]);
|
var templateName = global::umbraco.cms.helpers.Casing.SafeAlias(publishedContentRequest.Template.Split('.')[0]);
|
||||||
def.ActionName = templateName;
|
def.ActionName = templateName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user