Obsoleted methods in old Casing class and redirects to use StringExtensions. Removes eroneous webforms files not needed in the Umbraco.Web prject

(didn't convert the related UI project ones to have code behinds though... one thing at a time and there's a lot of them to do... over time)
This commit is contained in:
Shannon Deminick
2013-02-06 05:56:49 +06:00
parent 77bffa69fd
commit 13e5590efa
48 changed files with 689 additions and 1508 deletions

View File

@@ -274,7 +274,7 @@ namespace Umbraco.Web.Mvc
//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
// with the action name attribute.
var templateName = global::umbraco.cms.helpers.Casing.SafeAlias(publishedContentRequest.TemplateAlias.Split('.')[0]);
var templateName = publishedContentRequest.TemplateAlias.Split('.')[0].ToSafeAlias();
def.ActionName = templateName;
}