Move contributor-creation form for separate view

closes #74
This commit is contained in:
2019-05-23 14:17:33 +02:00
parent 4efd6f8f88
commit 16ee3b6b6b
7 changed files with 53 additions and 31 deletions
-8
View File
@@ -37,14 +37,6 @@ export default Controller.extend({
this.kredits.vote(proposalId).then(transaction => {
console.debug('[controllers:index] Vote submitted to Ethereum blockhain: '+transaction.hash);
});
},
save (contributor) {
return this.kredits.addContributor(contributor)
.then(contributor => {
this.contributors.pushObject(contributor);
return contributor;
});
}
}