mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-07-08 15:22:46 +00:00
prettier does not like line lengths
This commit is contained in:
parent
a21812e886
commit
ccb6e5fcbd
@ -22,7 +22,9 @@ export default Ember.Controller.extend({
|
|||||||
this.get("model.product")
|
this.get("model.product")
|
||||||
.update()
|
.update()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.transitionToRoute("adminPlugins.discourse-subscriptions.products");
|
this.transitionToRoute(
|
||||||
|
"adminPlugins.discourse-subscriptions.products"
|
||||||
|
);
|
||||||
})
|
})
|
||||||
.catch(popupAjaxError);
|
.catch(popupAjaxError);
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,9 @@ export default Discourse.Route.extend({
|
|||||||
product
|
product
|
||||||
.destroy()
|
.destroy()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.controllerFor("adminPluginsDiscourseSubscriptionsProductsIndex")
|
this.controllerFor(
|
||||||
|
"adminPluginsDiscourseSubscriptionsProductsIndex"
|
||||||
|
)
|
||||||
.get("model")
|
.get("model")
|
||||||
.removeObject(product);
|
.removeObject(product);
|
||||||
})
|
})
|
||||||
|
@ -26,10 +26,14 @@ export default Discourse.Route.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
renderTemplate() {
|
renderTemplate() {
|
||||||
this.render("adminPlugins.discourse-subscriptions.products.show.plans.show", {
|
this.render(
|
||||||
|
"adminPlugins.discourse-subscriptions.products.show.plans.show",
|
||||||
|
{
|
||||||
into: "adminPlugins.discourse-subscriptions.products",
|
into: "adminPlugins.discourse-subscriptions.products",
|
||||||
outlet: "main",
|
outlet: "main",
|
||||||
controller: "adminPlugins.discourse-subscriptions.products.show.plans.show"
|
controller:
|
||||||
});
|
"adminPlugins.discourse-subscriptions.products.show.plans.show"
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -28,7 +28,9 @@ export default Discourse.Route.extend({
|
|||||||
plan
|
plan
|
||||||
.destroy()
|
.destroy()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.controllerFor("adminPluginsDiscourseSubscriptionsProductsShow")
|
this.controllerFor(
|
||||||
|
"adminPluginsDiscourseSubscriptionsProductsShow"
|
||||||
|
)
|
||||||
.get("model.plans")
|
.get("model.plans")
|
||||||
.removeObject(plan);
|
.removeObject(plan);
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user