In Sencha Touch 2, on a controller, I have the following code:
onRedirectToCartCommand: function(view, shoppingCartData) {
console.log('ProductViewController - onRedirectToCartCommand()');
console.log(shoppingCartData)
this.redirectTo('cart');
}
Upon triggering an event, I use the redirectTo function, which tells Sencha's router to create a new view and add it into the viewport.
Do you know a way to send an object along with the redirectTo function over to the router (which is another controller which handles the site-s routes)?