Created
May 17, 2014 12:20
-
-
Save james-dibble/f41fbb80630ee5dc6b1d to your computer and use it in GitHub Desktop.
Example route being added to RouteCollection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
routes.Add( | |
new Route( | |
"product/{productCategory}/filter/{*filters}", | |
new RouteValueDictionary | |
{ | |
{ "controller", "Product" }, | |
{ "action", "Filter" } | |
}, | |
new DictionaryRouteHandler<int, string>("filters"))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment