Vote count:
0
I have a routing issue and not sure how to fix it. I'm using MVC 5 and was using a url like this http://ift.tt/1lFmcq9 where Stuff is an area and Home is the controller. I am using bootstrap with a nav-bar and the navigation was working fine, but I'd like to change the navigation and when I use the following snippet:
<li class="dropdown">
<a href="#" class="dropdown-toggle">
<i class="fa fa-bar-chart-o"></i>
<span class="hidden-xs">Doing Stuff</span>
</a>
<ul class="dropdown-menu">
<li>@Html.ActionLink("Stuff", "Index", new { area = "Stuff" }, new { @class = "ajax-link" })</li>
</ul>
</li>
This link is rendered like this: <a href="/Stuff/Home" class="ajax-link active-parent active">Stuff</a>
Now the url looks like this: http://ift.tt/1lFmeyo and that's not working. How do I fix this?
Thanks
asked 45 secs ago
Aucun commentaire:
Enregistrer un commentaire