mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-03-06 09:39:51 +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);
|
||||
}
|
||||
}
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user