public static void Register(IDocumentStore documentStore, string prefix)
		{
			var routes = RouteTable.Routes;
			var urls = new []
			{
				""
			};
			var handler = new RavenDataHandler();
			using (routes.GetWriteLock())
			{
				foreach (var url in urls)
				{
					var route = new Route(prefix + url, handler)
					{
						// we have to specify these, so no MVC route helpers will match, e.g. @Html.ActionLink("Home", "Index", "Home")
						Defaults = new RouteValueDictionary(new { controller = "WidgetMetadataHandler", action = "ProcessRequest" })
					};

					// put our routes at the beginning, like a boss
					routes.Insert(0, route);
				}
			}
		}
        public static void Register(IDocumentStore documentStore, string prefix)
        {
            var routes = RouteTable.Routes;
            var urls   = new []
            {
                ""
            };
            var handler = new RavenDataHandler();

            using (routes.GetWriteLock())
            {
                foreach (var url in urls)
                {
                    var route = new Route(prefix + url, handler)
                    {
                        // we have to specify these, so no MVC route helpers will match, e.g. @Html.ActionLink("Home", "Index", "Home")
                        Defaults = new RouteValueDictionary(new { controller = "WidgetMetadataHandler", action = "ProcessRequest" })
                    };

                    // put our routes at the beginning, like a boss
                    routes.Insert(0, route);
                }
            }
        }