Some work on (blog and blogpost) slug generation

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045497
This commit is contained in:
skewed
2010-01-15 23:44:22 +00:00
parent 88924471b7
commit ee7ed66480
11 changed files with 121 additions and 33 deletions

View File

@@ -1,3 +1,4 @@
using System.ComponentModel.DataAnnotations;
using Orchard.Core.Common.Records;
using Orchard.ContentManagement;
@@ -7,6 +8,8 @@ namespace Orchard.Core.Common.Models {
get { return Record.Title; }
set { Record.Title = value; }
}
[Required]
public string Slug {
get { return Record.Slug; }
set { Record.Slug = value; }