mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
Commenting a catch-all route... Refining the item links...
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041614
This commit is contained in:
@@ -27,22 +27,22 @@ namespace Orchard.Blogs {
|
||||
},
|
||||
new MvcRouteHandler())
|
||||
},
|
||||
new RouteDescriptor {
|
||||
Route = new Route(
|
||||
"{blogSlug}",
|
||||
new RouteValueDictionary {
|
||||
{"area", "Orchard.Blogs"},
|
||||
{"controller", "Blog"},
|
||||
{"action", "Item"}
|
||||
},
|
||||
new RouteValueDictionary()/* {
|
||||
{"blogSlug", new IsBlogConstraint()}
|
||||
}*/,
|
||||
new RouteValueDictionary {
|
||||
{"area", "Orchard.Blogs"}
|
||||
},
|
||||
new MvcRouteHandler())
|
||||
}
|
||||
//new RouteDescriptor {
|
||||
// Route = new Route(
|
||||
// "{blogSlug}",
|
||||
// new RouteValueDictionary {
|
||||
// {"area", "Orchard.Blogs"},
|
||||
// {"controller", "Blog"},
|
||||
// {"action", "Item"}
|
||||
// },
|
||||
// new RouteValueDictionary()/* {
|
||||
// {"blogSlug", new IsBlogConstraint()}
|
||||
// }*/,
|
||||
// new RouteValueDictionary {
|
||||
// {"area", "Orchard.Blogs"}
|
||||
// },
|
||||
// new MvcRouteHandler())
|
||||
// }
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user