Good evening ..
I have the following Controller: HomController
with Action: Login
Clicking on the Enter My URL button is as follows:
I would like the URL not to be displayed this way, but:
I've already tried to reconfigure the route, but all my attempts did not work out:
routes.MapMvcAttributeRoutes();
routes.MapRoute(
"T",
"bemvindo",
new { controller = "Home", action = "Login" }
);
Where is my error in this setting?
Do I need to set the Rote attribute on my Controller / Action?
Thank you!