I\'m going through the Pro Asp.net mvc3 framework book. I wanting to change the default route so that I can have a different home page. I\'ve added a new controller called P
Be sure to place the default route at the very end of the route mappings. If it's last there's no way it can screw up the categories route.
Update If this route:
routes.MapRoute(null, "{controller}/{action}");
comes before the default, it will catch anything that you would expect your default route to catch except items with a third URL parameter (id).
So for example:
/somepage/home
would get caught by this above route, rather than your default.
So you probably want to delete this route.