Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : $.route encodes my url !???

$
0
0
Just in case someone is curious. Param chains need to be defined like

account/details&id=1,someOther=false,b=test

and the according route template has to look as follows

  1. ':controller/:action&:params route': function(routeData) {
  2.     /*
  3.         routeData will be an object that looks as follows:
  4.         {
  5.             controller: 'account',
  6.             action: 'detail',
  7.             params: 'id=1,someOther=false,b=test'
  8.         }
  9.     */
  10. }


Viewing all articles
Browse latest Browse all 3491

Trending Articles