Assertion Failed: The URL '/projects.index' did not match any routes in your application


#1

Dear all,

I’ve create the following route:

App.Router.map(function() {
  	// put your routes here
	this.resource("projects", function() {

	});
});

And tried to call it with this error message:

Error: Assertion Failed: The URL '/projects.index' did not match any routes in your application

When I add a path “/” to the resource, everything is working. What can be the reason? Is there the template only rendered for /projects or is the model of ProjectsController loaded also?

Thanks!


#2

I just ran into this less than an hour ago. The .index is implicit in the URL with resources. Go to /projects, not /projects.index.