mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-22 20:13:50 +08:00

- Got the rest of the hard coded prefix usage out of the RoutableAspect's editor template --HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045731
18 lines
491 B
C#
18 lines
491 B
C#
using Orchard.Core.Common.Records;
|
|
using Orchard.ContentManagement;
|
|
|
|
namespace Orchard.Core.Common.Models {
|
|
public class RoutableAspect : ContentPart<RoutableRecord> {
|
|
public string ContainerPath { get; set; }
|
|
|
|
public string Title {
|
|
get { return Record.Title; }
|
|
set { Record.Title = value; }
|
|
}
|
|
|
|
public string Slug {
|
|
get { return Record.Slug; }
|
|
set { Record.Slug = value; }
|
|
}
|
|
}
|
|
} |