old code gone

This commit is contained in:
Rimian Perkins 2017-03-16 11:40:09 +11:00
parent 567754de92
commit cc47e88bc9
2 changed files with 1 additions and 19 deletions

View File

@ -1,18 +0,0 @@
import { ajax } from 'discourse/lib/ajax';
export default Ember.Controller.extend({
user: Ember.inject.controller(),
username: Ember.computed.alias('user.model.username_lower'),
email: Ember.computed.alias('user.model.email'),
actions: {
makePayment: function() {
ajax('/payments', { method: 'POST' }).then(() => {
console.log(this);
});
this.set('saved', true);
}
}
});

View File

@ -1,6 +1,6 @@
# name: discourse-donations
# about: Integrating Discourse with Stripe for donations
# version: 1.9.4
# version: 1.9.4.1
# url: https://github.com/choiceaustralia/discourse-donations
# authors: Rimian Perkins