cms/app-client/app/adapters/application.js
changeset 63 43a8a7893e35
parent 42 7d091abf82fd
child 69 87946963c3bb
--- a/cms/app-client/app/adapters/application.js	Thu Dec 17 12:12:39 2015 +0100
+++ b/cms/app-client/app/adapters/application.js	Thu Dec 17 12:13:41 2015 +0100
@@ -3,14 +3,4 @@
 export default DS.FixtureAdapter.extend({
   host: 'http://127.0.0.1',
   namespace: 'api',
-  queryFixtures: function(records, query, type) {
-    return records.filter(function(record) {
-        for(var key in query) {
-            if (!query.hasOwnProperty(key)) { continue; }
-            var value = query[key];
-            if (record[key] !== value) { return false; }
-        }
-        return true;
-    });
-  }
 });