From fd166389c43ae918de41d5a8beacfa027cc9c418 Mon Sep 17 00:00:00 2001 From: Shannon Deminick Date: Thu, 20 Sep 2012 12:47:37 +0700 Subject: [PATCH] Changed the MVC view class to expose the UmbracoHelper as just @Umbraco instead of @UmbracoHelper, this follows the same naming conventions as MVC with HtmlHelper is exposed just as @Html, plus it is less to type --- src/Umbraco.Web/Mvc/RenderViewPage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/Mvc/RenderViewPage.cs b/src/Umbraco.Web/Mvc/RenderViewPage.cs index 6362340605..101d7fba5e 100644 --- a/src/Umbraco.Web/Mvc/RenderViewPage.cs +++ b/src/Umbraco.Web/Mvc/RenderViewPage.cs @@ -73,7 +73,7 @@ namespace Umbraco.Web.Mvc /// /// Gets an UmbracoHelper /// - public UmbracoHelper UmbracoHelper + public UmbracoHelper Umbraco { get { return _helper ?? (_helper = new UmbracoHelper(UmbracoContext)); } }