for globalization reason I need to be able to do this:
http://mysite/home
http://mysite/Accueil
what I tried is to inherits home control in my Accueil class:
Public Class AccueilController
Inherits HomeController
End Class
problem is, it’s trying to go into the Accueil folder and look for index.aspx there
The view 'Index' or its master could not be found. The following locations were searched:
~/Views/Accueil/Index.aspx
~/Views/Accueil/Index.ascx
~/Views/Shared/Index.aspx
~/Views/Shared/Index.ascx
I would want it to use, so I don’t have to duplicate code
~/Views/Home/Index.aspx
what would be the easiest way to do that?
You are saying that for globalization reasons you need to have both urls render the same view. In this case I would suggest you to use the routing engine and map
Accueiltohome.