mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Adding some package metadata services
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4039316
This commit is contained in:
@@ -15,6 +15,11 @@ namespace Orchard.CmsPages {
|
||||
_pageManager = pageManager;
|
||||
}
|
||||
|
||||
public void GetRoutes(ICollection<RouteDescriptor> routes) {
|
||||
foreach (var routeDescriptor in GetRoutes())
|
||||
routes.Add(routeDescriptor);
|
||||
}
|
||||
|
||||
public IEnumerable<RouteDescriptor> GetRoutes() {
|
||||
IRouteConstraint slugConstraint = this;
|
||||
return new[] {
|
||||
|
Reference in New Issue
Block a user