Orchard/src/Orchard.Web/Core/Routable/Models/RoutePart.cs
Nathan Heskew 036033116f Some work on making the route part more container aware
- still needs some work in the Slugify method (for client slugification)
- also a container path placeholder...

--HG--
branch : dev
2010-11-13 01:52:53 -08:00

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; }
}
}
}