Skip to content

Commit

Permalink
Update SiteMapTitleHelperModel.cshtml
Browse files Browse the repository at this point in the history
Added missing '@' in SiteMapTitleHelperModel.cshtml.

@Html.MvcSiteMap().SiteMapTitle() now works again for Razor views, without the '@' you get an 'System.Web.HttpCompileException'.
  • Loading branch information
danielpalme committed Feb 7, 2014
1 parent a54b8e4 commit f228d6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
@using System.Web.Mvc.Html
@using MvcSiteMapProvider.Web.Html.Models

@if (Model.CurrentNode != null) {Model.CurrentNode.Title;}
@if (Model.CurrentNode != null) {@Model.CurrentNode.Title;}

0 comments on commit f228d6e

Please sign in to comment.