Changed the Template prop of documentrequest to be a new TemplateLookup object since we are going

to need to support MVC and the old Template object is for webforms. I've added a lot of TODO's here
because we'll need to enable the lookups properly in each ILookup and also set the rendering engine (IsMvc)
in the ILookups too. This hasn't been enabled, yet, just a bunch of TODO's written.
This commit is contained in:
Shannon Deminick
2012-08-29 08:54:29 +07:00
parent b86d513aff
commit 05ebc8d2f9
9 changed files with 107 additions and 17 deletions

View File

@@ -126,8 +126,8 @@ namespace Umbraco.Web
}
//TODO: Detect MVC vs WebForms
var isMvc = true;
docreq.IsMvc = true; //TODO: This needs to be set in the ILookups based on the template
var isMvc = docreq.IsMvc;
RewriteToUmbracoHandler(HttpContext.Current, uri.Query, isMvc);
}
}