create carto route to try a query and render the carto compoenent in a specific outlet
authornowmad@nowmads-macbook-pro.local
Thu, 10 Dec 2015 16:57:59 +0100
changeset 46 b9afefcfe964
parent 45 b9adc23abd01
child 47 aca69a9db743
create carto route to try a query and render the carto compoenent in a specific outlet
cms/app-client/app/routes/tabs/carto.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cms/app-client/app/routes/tabs/carto.js	Thu Dec 10 16:57:59 2015 +0100
@@ -0,0 +1,10 @@
+import Ember from 'ember';
+
+export default Ember.Route.extend({
+  renderTemplate() {
+    this.render({ outlet: 'carto' });
+  },
+  model() {
+    return this.store.find('sound', { location: "france" });
+  }
+});