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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
271 B
JavaScript
Raw Normal View History

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");
}
}