[Fixes #7155] Orchard.Framework - GroupInfo generates routes with spaces (#7275)

Fixes #7155
This commit is contained in:
Matthew Harris
2016-10-13 12:32:21 -07:00
committed by Sébastien Ros
parent 794f30af39
commit 7c95b53807
+2 -1
View File
@@ -1,11 +1,12 @@
using Orchard.Localization;
using Orchard.Utility.Extensions;
namespace Orchard.ContentManagement {
public class GroupInfo {
private string _position = "5";
public GroupInfo(LocalizedString name) {
Id = name.TextHint;
Id = name.TextHint.ToSafeName();
Name = name;
}