cms/app-client/app/routes/tabs/carto.js
author ymh <ymh.work@gmail.com>
Tue, 06 Sep 2016 16:50:41 +0200
changeset 275 a4d8618c2f1b
parent 274 53a6985443f8
child 278 f2c2c80a49f7
permissions -rw-r--r--
add transcript_url property on document list results
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
});