mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +08:00
DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592)
This commit is contained in:
@ -12,7 +12,7 @@ export default Ember.Controller.extend({
|
||||
webhook
|
||||
.destroyRecord()
|
||||
.then(() => {
|
||||
this.get("model").removeObject(webhook);
|
||||
this.model.removeObject(webhook);
|
||||
})
|
||||
.catch(popupAjaxError);
|
||||
}
|
||||
@ -21,7 +21,7 @@ export default Ember.Controller.extend({
|
||||
},
|
||||
|
||||
loadMore() {
|
||||
this.get("model").loadMore();
|
||||
this.model.loadMore();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user