code_junkie

Multiple route parameters with clean URLs

Nov 14th, 2011
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. routes.MapRoute("FeatureTagged", "feature/tagged/{tag}", new {
  2. controller = "Story", action = "ShowFeaturedByTag" });
  3. routes.MapRoute("NewTagged", "new/tagged/{tag}", new {
  4. controller = "Story", action = "ShowNewByTag" });
Add Comment
Please, Sign In to add comment