I want to send parameter with default route in durandal js.
{ route: '', title: 'Welcome', moduleId: 'viewmodels/welcome', nav: true },
like
{ route: 'test/:id', moduleId: 'viewmodels/test', nav: true },
But unfortunately I can't do it. I want to set the url as 'http://domainname.com/123' where '123' is the paramater(id). 'http://domainname.com/#test/123' is working for me according to the second route. Can anyone please help me.?