updates some code docs

This commit is contained in:
Shannon Deminick
2013-02-19 02:20:15 +06:00
parent e7c5d1f4f3
commit 9f301f8cc6

View File

@@ -134,8 +134,8 @@ namespace Umbraco.Web
var webServiceRoutes = RouteTable.Routes.MapRoute(
"Umbraco_web_services",
"Umbraco/RestServices/{controller}/{action}/{id}",
new {controller = "SaveFileController", action = "Index", id = UrlParameter.Optional},
//VERY IMPORTANT! for this route, only match controllers in this namespace!
new { controller = "SaveFileController", action = "Index", id = UrlParameter.Optional },
//look in this namespace for controllers
new string[] { "Umbraco.Web.WebServices" }
);
webServiceRoutes.DataTokens.Add("area", umbracoPath);