Fixes: #U4-1727

This commit is contained in:
Shannon Deminick
2013-02-19 06:11:17 +06:00
parent d01a39e0c6
commit 7d1e9cfd72
2 changed files with 8 additions and 8 deletions

View File

@@ -127,7 +127,7 @@ namespace Umbraco.Web
//Create the REST/web/script service routes
var webServiceRoutes = RouteTable.Routes.MapRoute(
"Umbraco_web_services",
"Umbraco/RestServices/{controller}/{action}/{id}",
umbracoPath + "/RestServices/{controller}/{action}/{id}",
new {controller = "SaveFileController", action = "Index", id = UrlParameter.Optional},
//VERY IMPORTANT! for this route, only match controllers in this namespace!
new string[] { "Umbraco.Web.WebServices" }