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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user