A simple task in MVC, sometimes becomes a hard challenge.
Well,i have an Area called Admin. I've a page named "Forbidden" inside the Shared's directory in this area.
The goal is simple: I need to create an Html.ActionLink that generates a link to return to Home page which is OUTSIDE the Admin area.
So i try,<%= Html.ActionLink("Back","Index",new {controller="Home"})%>
,and its generate :
http://localhost/Admin/Home/Index
Its wrong!I want:
http://localhost/Home/Index
How can i create a link from an area to the default controllers structure?