discourse/app/assets/javascripts/admin/addon/routes/admin-customize-email-style-index.js
2024-03-06 18:05:11 +01:00

11 lines
271 B
JavaScript

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