2 * The Router maps local urls to controller and action pairs. This is used primarily
3 * for providing history support without reloading the page. Example usage:
5 * Connects http://myapp.com/#home to the index controller's overview action
6 * map.connect("home", {controller: 'index', action: 'overview'});
8 * Connects urls like "images/myImage.jpg" to the images controller's show action, passing
9 * "myImage.jpg" as the "url" property of the options object each controller action receives
10 * map.connect("images/:url", {controller: 'images', action: 'show'});
12 Ext.Router.draw(function(map) {
15 //These are default fallback routes and can be removed if not needed
16 map.connect(':controller/:action');
17 map.connect(':controller/:action/:id');