export default Ember.Controller.extend({
surveysApi : Ember.inject.service('surveys-api'),
actions: {
deleteSurveys(id){
this.get('surveysApi').deleteSurvey(id);
}
}
});
model(){
this.set("disqus",[]);
return this.get('surveysApi').getSurveys().then(result => {
disqus = result;
return disqus;
});
},