Support query params for adding contribution

Just contributor ID, kind, and amount for now.
This commit is contained in:
2019-12-10 18:16:54 +01:00
parent 04a7f9139d
commit 536868002f
4 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ Router.map(function() {
this.route('new');
});
this.route('contributions', function() {
this.route('new');
this.route('new', { queryParams: ['contributorId', 'kind', 'amount'] });
this.route('resubmit', { path: ':id/resubmit' });
});
this.route('contributors', function() {