cms/app-client/app/controllers/results.js
changeset 52 87b6a104de8e
parent 51 70dff07a76ff
child 53 30e7ac1ff04a
--- a/cms/app-client/app/controllers/results.js	Fri Dec 11 13:13:47 2015 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-import Ember from 'ember';
-
-export default Ember.Controller.extend({
-  queryParams: ['location'],
-  location: null,
-  filteredSounds: Ember.computed('location', 'model', function() {
-    var location = this.get('location');
-    console.log("model ? ", this.get('model'));
-    var sounds = this.get('model');
-
-    if (location) {
-      return sounds.filterBy('location', location);
-    } else {
-      return sounds;
-    }
-  })
-});