After talks with morten and stephane, this renames

DocumentRequest -> PublishedContentRequest
This commit is contained in:
Shannon Deminick
2012-10-02 01:40:19 +05:00
parent f8d8b767b8
commit ffd14c839b
35 changed files with 173 additions and 173 deletions

View File

@@ -98,11 +98,11 @@ namespace Umbraco.Web
LegacyCleanUmbPageFromQueryString(ref uri);
// create the new document request since we're rendering a document on the front-end
var docreq = new DocumentRequest(
var docreq = new PublishedContentRequest(
umbracoContext.UmbracoUrl, //very important to use this url! it is the path only lowercased version of the current URL.
routingContext);
//assign the document request to the umbraco context now that we know its a front end request
umbracoContext.DocumentRequest = docreq;
umbracoContext.PublishedContentRequest = docreq;
// note - at that point the original legacy module did something do handle IIS custom 404 errors
// ie pages looking like /anything.aspx?404;/path/to/document - I guess the reason was to support