Corrected rendering of Routable links

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2010-10-26 15:32:59 -07:00
parent 6f3c2aca13
commit 8435dff302

View File

@@ -1 +1,6 @@
<h1><a href="@Model.Path">@Model.Title</a></h1>
@{
Orchard.ContentManagement.ContentItem contentItem = Model.ContentPart.ContentItem;
string title = Model.Title.ToString();
}
<h1>@Html.ItemDisplayLink(title, contentItem)</h1>