mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 23:23:49 +08:00
16 lines
399 B
JavaScript
16 lines
399 B
JavaScript
|
import { service } from "@ember/service";
|
||
|
import DiscourseRoute from "discourse/routes/discourse";
|
||
|
import I18n from "discourse-i18n";
|
||
|
|
||
|
export default class AdminConfigLookAndFeelRoute extends DiscourseRoute {
|
||
|
@service router;
|
||
|
|
||
|
beforeModel() {
|
||
|
this.router.replaceWith("adminConfig.lookAndFeel.themes");
|
||
|
}
|
||
|
|
||
|
titleToken() {
|
||
|
return I18n.t("admin.config_areas.look_and_feel.title");
|
||
|
}
|
||
|
}
|