Porting contribution from Kevin Labranche. Fix for 17111

--HG--
branch : 1.x
This commit is contained in:
Suha Can
2011-01-14 11:48:06 -08:00
parent ad60ca57c0
commit dc81f4c8a6

View File

@@ -10,6 +10,7 @@ namespace Orchard.Core.Routable.ViewModels {
[StringLength(1024)]
public string Title { get; set; }
[StringLength(1024)]
[Required(AllowEmptyStrings = false)]
public string Slug { get; set; }
public int? ContainerId { get; set; }
public bool PromoteToHomePage { get; set; }