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")
|
||||
.update()
|
||||
.then(() => {
|
||||
this.transitionToRoute("adminPlugins.discourse-subscriptions.products");
|
||||
this.transitionToRoute(
|
||||
"adminPlugins.discourse-subscriptions.products"
|
||||
);
|
||||
})
|
||||
.catch(popupAjaxError);
|
||||
}
|
||||
|
|
|
@ -16,7 +16,9 @@ export default Discourse.Route.extend({
|
|||
product
|
||||
.destroy()
|
||||
.then(() => {
|
||||
this.controllerFor("adminPluginsDiscourseSubscriptionsProductsIndex")
|
||||
this.controllerFor(
|
||||
"adminPluginsDiscourseSubscriptionsProductsIndex"
|
||||
)
|
||||
.get("model")
|
||||
.removeObject(product);
|
||||
})
|
||||
|
|
|
@ -26,10 +26,14 @@ export default Discourse.Route.extend({
|
|||
},
|
||||
|
||||
renderTemplate() {
|
||||
this.render("adminPlugins.discourse-subscriptions.products.show.plans.show", {
|
||||
into: "adminPlugins.discourse-subscriptions.products",
|
||||
outlet: "main",
|
||||
controller: "adminPlugins.discourse-subscriptions.products.show.plans.show"
|
||||
});
|
||||
this.render(
|
||||
"adminPlugins.discourse-subscriptions.products.show.plans.show",
|
||||
{
|
||||
into: "adminPlugins.discourse-subscriptions.products",
|
||||
outlet: "main",
|
||||
controller:
|
||||
"adminPlugins.discourse-subscriptions.products.show.plans.show"
|
||||
}
|
||||
);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -28,7 +28,9 @@ export default Discourse.Route.extend({
|
|||
plan
|
||||
.destroy()
|
||||
.then(() => {
|
||||
this.controllerFor("adminPluginsDiscourseSubscriptionsProductsShow")
|
||||
this.controllerFor(
|
||||
"adminPluginsDiscourseSubscriptionsProductsShow"
|
||||
)
|
||||
.get("model.plans")
|
||||
.removeObject(plan);
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue