2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-11 21:04:42 +08:00

REFACTOR: Remove Discourse.Ajax

This commit is contained in:
Robin Ward 2016-06-30 13:55:44 -04:00
parent 56f07529bb
commit b8125b3512
111 changed files with 567 additions and 549 deletions

View file

@ -1,3 +1,4 @@
import { ajax } from 'discourse/lib/ajax';
export default Ember.Controller.extend({
/**
@ -29,7 +30,7 @@ export default Ember.Controller.extend({
});
var self = this;
Discourse.ajax("/admin/email/test", {
ajax("/admin/email/test", {
type: 'POST',
data: { email_address: this.get('testEmailAddress') }
}).then(function () {