阅读背景:

Ruby on Rails的ASP.NET MVC版本“link_to_unless_current”

来源:互联网 

I want to include a link in my SiteMaster (using Html.ActionLink) UNLESS the view that I am linking to is the current view. For example, there is no sense displaying a "Register" link when the user is already seeing the "Register" view.I want to include a link in my SiteMaster (usin




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: