Route Manipulation
I have two controllers, HomeController and ResourcesController. I want to hide the Home/ from the url when action on HomeController is requested, but for ResourcesController (or any other controlelr) I want to keep the controller name in url. E.g. /Home/Products will be /Produtcs, but /Resources/Banana should stay /Resources/Banana.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Ankit SharmaRank #141 · 16.1K reputationPosted Sep 6, 2017, 3:54 AM EDT