Skip to content

Instantly share code, notes, and snippets.

@willprice76
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willprice76/1dc3749826423e15691e to your computer and use it in GitHub Desktop.
Save willprice76/1dc3749826423e15691e to your computer and use it in GitHub Desktop.
Tridion Reference Implementation JSON Data Controller example route (with Area)
//JSON data route (when DataController is the area "Data")
routes.MapRoute(
"JSON",
"json/{*pageUrl}",
new { controller = "Data", action = "Json" }
).DataTokens.Add("area", "Data");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment