Ember-data Assertion Failed: Cannot Call Get With 'query' On An Undefined Object
Solving my previous question (ember-data error while loading route: TypeError {}) Turned up a new error, because I think this problem is not related to the previous question I deci
Solution 1:
It seems the Map was causing the issue,
changing
this.route("search", { path: "/search" });
this.route("search", { path: "/search/:query" });
into
this.resource("search", { path: "/search" }, function() {
this.route(':query');
});
solved my problem
Post a Comment for "Ember-data Assertion Failed: Cannot Call Get With 'query' On An Undefined Object"