Does the ActionLinkForAreas link extension work with parameters + custom routes?
I have a route that exists matching my action which is:
routes.MapRoute("Profile", "profile/{artist}/{action}", new {controller="Profile", action="Index"});
But when I call ActionLinkForAreas like this:
<%= Html.ActionLinkForAreas<ProfileController>(x => x.Index("DJ"), "DJ") %>
It returns /profile/?artist=DJ where as I would like it to return /profile/DJ as my route is setup.
If i call ActionLink it returns the correct URL, i have tested this in the Northwind sample project and I get the same result.
Am I missing something?