Last active
August 29, 2015 14:07
-
-
Save willprice76/1dc3749826423e15691e to your computer and use it in GitHub Desktop.
Tridion Reference Implementation JSON Data Controller example route (with Area)
This file contains 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
//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