cms/app-client/app/routes/tabs/carto.js
author ymh <ymh.work@gmail.com>
Thu, 08 Sep 2016 19:15:46 +0200
changeset 276 ef32bf573d9c
parent 274 53a6985443f8
child 278 f2c2c80a49f7
permissions -rw-r--r--
correct error in test with empty document returned by query
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
46
b9afefcfe964 create carto route to try a query and render the carto compoenent in a specific outlet
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     1
import Ember from 'ember';
b9afefcfe964 create carto route to try a query and render the carto compoenent in a specific outlet
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     2
b9afefcfe964 create carto route to try a query and render the carto compoenent in a specific outlet
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     3
export default Ember.Route.extend({
274
53a6985443f8 geostats endpoint + mapvar
Chloe Laisne <chloe.laisne@gmail.com>
parents: 204
diff changeset
     4
53a6985443f8 geostats endpoint + mapvar
Chloe Laisne <chloe.laisne@gmail.com>
parents: 204
diff changeset
     5
	model: function() {
53a6985443f8 geostats endpoint + mapvar
Chloe Laisne <chloe.laisne@gmail.com>
parents: 204
diff changeset
     6
        return this.store.query('geostat', { 'areas': 'FR-A,FR-B,FR-C,FR-D,FR-E' });
53a6985443f8 geostats endpoint + mapvar
Chloe Laisne <chloe.laisne@gmail.com>
parents: 204
diff changeset
     7
    }
53a6985443f8 geostats endpoint + mapvar
Chloe Laisne <chloe.laisne@gmail.com>
parents: 204
diff changeset
     8
46
b9afefcfe964 create carto route to try a query and render the carto compoenent in a specific outlet
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     9
});