I'm trying to show a title of a news as a link
@using Glass.Mapper.Sc.Web.Mvc
@model MVC.com.Models.News
it works:<a href="@Model.Url">@Model.Title</a><br/>
it dosen't work : @Html.Glass().RenderLink(x => x.Url,new {@class=""} ,true, Model.Title)
Anchor tag works fine but can not generate a link using RenderLink.
Meanwhile, is there any way I can eliminate @Html.Glass() helper from lines? I added Glass.Mapper.Sc.Web.Mvc to file Web.config but still have to wirte @Html.Glass() at the beginning of each command