mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 08:33:41 +08:00
11 lines
271 B
JavaScript
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");
|
|
}
|
|
}
|