Merge branch '6.1.2' into 7.0.0
Conflicts: src/Umbraco.Web/WebBootManager.cs
This commit is contained in:
@@ -210,8 +210,8 @@ namespace Umbraco.Web
|
||||
var meta = PluginController.GetMetadata(controller);
|
||||
var route = RouteTable.Routes.MapHttpRoute(
|
||||
string.Format("umbraco-{0}-{1}", "api", meta.ControllerName),
|
||||
umbracoPath + "/Api/" + meta.ControllerName + "/{action}/{id}",//url to match
|
||||
new { controller = meta.ControllerName, id = UrlParameter.Optional });
|
||||
umbracoPath + "/Api/" + meta.ControllerName + "/{action}/{id}", //url to match
|
||||
new {controller = meta.ControllerName, id = UrlParameter.Optional});
|
||||
//web api routes don't set the data tokens object
|
||||
if (route.DataTokens == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user