mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-03-06 17:49:24 +00:00
old code gone
This commit is contained in:
parent
567754de92
commit
cc47e88bc9
@ -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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
@ -1,6 +1,6 @@
|
|||||||
# name: discourse-donations
|
# name: discourse-donations
|
||||||
# about: Integrating Discourse with Stripe for donations
|
# about: Integrating Discourse with Stripe for donations
|
||||||
# version: 1.9.4
|
# version: 1.9.4.1
|
||||||
# url: https://github.com/choiceaustralia/discourse-donations
|
# url: https://github.com/choiceaustralia/discourse-donations
|
||||||
# authors: Rimian Perkins
|
# authors: Rimian Perkins
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user