discourse/app/assets/javascripts/admin/addon/routes/admin-customize-email-style...

8 lines
202 B
JavaScript

import Route from "@ember/routing/route";
export default class AdminCustomizeEmailStyleIndexRoute extends Route {
beforeModel() {
this.replaceWith("adminCustomizeEmailStyle.edit", "html");
}
}