I have a controller called Admin with a number of Actions. In the URL, they look like this:
http://www.website.com/Admin/Users/1
http://www.website.com/Admin/Roles/123
Is there anyway to alias out so that:
http://www.website.com/Users/1
http://www.website.com/Roles/123
Automatically goes to the right controller?
Regards.
Not without interfering with the default route, unless you are not going to use the names
UsersorRolesanywhere else. If that is the case, you can just addto your
Global.asax.csfile.