apply prettier on gigantic find and replace (#7604)

This commit is contained in:
Joffrey JAFFEUX
2019-05-27 10:42:53 +02:00
committed by GitHub
parent 373b8a2139
commit d93f753b17
74 changed files with 336 additions and 1024 deletions

View File

@ -92,9 +92,7 @@ export default Ember.Controller.extend({
.save()
.then(() => {
this.set("saved", true);
this.adminWebHooks
.get("model")
.addObject(model);
this.adminWebHooks.get("model").addObject(model);
if (isNew) {
this.transitionToRoute("adminWebHooks.show", model.get("id"));
@ -135,9 +133,7 @@ export default Ember.Controller.extend({
model
.destroyRecord()
.then(() => {
this.adminWebHooks
.get("model")
.removeObject(model);
this.adminWebHooks.get("model").removeObject(model);
this.transitionToRoute("adminWebHooks");
})
.catch(popupAjaxError);