I'm developing an extjs application with Sencha Cmd v6.5.3.6 and modern toolkit. My app always handles the url with parameters, example:
http:localhost:1841/#users?language=es&tenant=Number
I use the language parameter to identify the location and the tenant for the current user login in the app.
How can I define a route that handles urls and parameters inside it?
For the last example, how can I implement a route for the next url?:
http:localhost:1841/#users?language=es&tenant=1, define a route that reads the token "users" but ignore the parameters "language" and "tenant".
routes : {
'users?...' : 'onUsers'
},
onUsers: function(){
....
}