author | nowmad@23.1.168.192.in-addr.arpa |
Thu, 17 Dec 2015 12:13:41 +0100 | |
changeset 63 | 43a8a7893e35 |
parent 46 | b9afefcfe964 |
child 70 | ad554d876c81 |
permissions | -rw-r--r-- |
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({ |
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
|
4 |
renderTemplate() { |
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
|
5 |
this.render({ outlet: 'carto' }); |
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
|
6 |
}, |
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
|
7 |
model() { |
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
|
8 |
return this.store.find('sound', { location: "france" }); |
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 |
} |
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
|
10 |
}); |