JavaScriptReplacableUrl not working

Nov 12, 2014 at 5:44 PM
Edited Nov 12, 2014 at 5:52 PM
I'm trying to use JavaScriptReplacableUrl to get a url on client side and replace parameters. My method:
virtual ActionResult Details(int id = 0, int acctJobID = 0)
javascript to test JavaScriptReplacableUrl
console.log('@Url.JavaScriptReplaceableUrl(MVC.Distribution.Details())');
//output: /Distribution/Details/0/0 
//expected: /Distribution/Details/{id}/{acctJobID}
T4MVC Version 3.10.0
Coordinator
Nov 13, 2014 at 4:19 AM
I think this method is a bit quirky, as it attempts to do its own route matching. You may want to read through the initial discussion about it, and possibly post there to get Wayne's attention.