From cc47e88bc9dbe9a2d0a8bf06a9f3484233c9e178 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Thu, 16 Mar 2017 11:40:09 +1100 Subject: [PATCH] old code gone --- .../discourse/controllers/user-payments.js.es6 | 18 ------------------ plugin.rb | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 assets/javascripts/discourse/controllers/user-payments.js.es6 diff --git a/assets/javascripts/discourse/controllers/user-payments.js.es6 b/assets/javascripts/discourse/controllers/user-payments.js.es6 deleted file mode 100644 index f3955c8..0000000 --- a/assets/javascripts/discourse/controllers/user-payments.js.es6 +++ /dev/null @@ -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); - } - } -}); diff --git a/plugin.rb b/plugin.rb index 40b23c0..cc4579e 100644 --- a/plugin.rb +++ b/plugin.rb @@ -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