mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-07-15 23:37:44 +08:00

- still needs some work in the Slugify method (for client slugification) - also a container path placeholder... --HG-- branch : dev
21 lines
588 B
C#
21 lines
588 B
C#
using Orchard.ContentManagement;
|
|
using Orchard.ContentManagement.Aspects;
|
|
|
|
namespace Orchard.Core.Routable.Models {
|
|
public class RoutePart : ContentPart<RoutePartRecord>, IRoutableAspect {
|
|
public string Title {
|
|
get { return Record.Title; }
|
|
set { Record.Title = value; }
|
|
}
|
|
|
|
public string Slug {
|
|
get { return Record.Slug; }
|
|
set { Record.Slug = value; }
|
|
}
|
|
|
|
public string Path {
|
|
get { return Record.Path; }
|
|
set { Record.Path = value; }
|
|
}
|
|
}
|
|
} |