I am getting uncaught error when using map() method on router. Any ideas ??
App.Router.map(function(match) {
match('/').to('index');
match('/models').to('models');
});
Error:: Ember JS :: Uncaught TypeError: Object App.Router has no method 'map'
Ember Version : http://cloud.github.com/downloads/emberjs/ember.js/ember-latest.js