mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-19 17:51:45 +08:00
Some work on getting routing cleaned up for Orchard.Blogs
--HG-- branch : dev
This commit is contained in:
@@ -113,6 +113,10 @@ namespace Orchard.Core.Routable.Services {
|
||||
: slug;
|
||||
}
|
||||
|
||||
public static string GetChildPath(this IRoutableAspect routableAspect, string slug) {
|
||||
return string.Format("{0}/{1}", routableAspect.Path, slug);
|
||||
}
|
||||
|
||||
public static string GetEffectiveSlug(this IRoutableAspect routableAspect) {
|
||||
var containerPath = routableAspect.GetContainerPath();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user