From 8435dff30216ef1351346701acb0d4339fa57399 Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Tue, 26 Oct 2010 15:32:59 -0700 Subject: [PATCH] Corrected rendering of Routable links --HG-- branch : dev --- .../Core/Routable/Views/Parts/RoutableTitle.cshtml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Orchard.Web/Core/Routable/Views/Parts/RoutableTitle.cshtml b/src/Orchard.Web/Core/Routable/Views/Parts/RoutableTitle.cshtml index 925e62123..a1e1e7ed0 100644 --- a/src/Orchard.Web/Core/Routable/Views/Parts/RoutableTitle.cshtml +++ b/src/Orchard.Web/Core/Routable/Views/Parts/RoutableTitle.cshtml @@ -1 +1,6 @@ -

@Model.Title

\ No newline at end of file +@{ + Orchard.ContentManagement.ContentItem contentItem = Model.ContentPart.ContentItem; + string title = Model.Title.ToString(); +} + +

@Html.ItemDisplayLink(title, contentItem)

\ No newline at end of file