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
Router.map
is something related to new router. Not in 1.0.0-pre.2. – Manoharan