Applies patch for #U4-1536

This commit is contained in:
Shannon Deminick
2013-01-29 07:50:55 +06:00
parent 93bdfc8915
commit df1cfaba28

View File

@@ -60,6 +60,14 @@ namespace Umbraco.Web.Mvc
get { return ApplicationContext.DatabaseContext; }
}
/// <summary>
/// Returns the Current published content item for rendering the content
/// </summary>
protected IPublishedContent CurrentPage
{
get { return PublishedContentRequest.PublishedContent; }
}
//TODO: make this protected once we make PublishedContentRequest not internal after we figure out what it should actually contain
/// <summary>
/// Returns the current PublishedContentRequest