AnantLabs / codesmith

Automatically exported from code.google.com/p/codesmith
1 stars 0 forks source link

Add identification to be a default route parameter #700

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
routes.MapHttpRoute(
    name: "DefaultApi",
    routeTemplate: "api/{controller}/{identification}",
    defaults: new { identification = RouteParameter.Optional }
);

Original issue reported on code.google.com by bniemyjski on 6 May 2014 at 6:55