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…
Reference in New Issue