I have my router for my application setup like this:
App.Router.map(function(){
this.resource('users', function() {
this.route('new');
});
});
However when I try and navigate to /#users i get the error message
Assertion failed: The URL '/users.index' did not match any routes in your application
Likewise when I try and navigate to /#users/new I get
Assertion failed: The URL '/users/new.index' did not match any routes in your application
I have the following routes setup as well:
App.UsersRoute = Ember.Route.extend({});
App.UsersNewRoute = Ember.Route.extend({});
I am using Ember 1.3.2
Anyone have any suggestions on why I am receiving these errors?