mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 00:54:16 +08:00
11 lines
286 B
JavaScript
11 lines
286 B
JavaScript
|
import { service } from "@ember/service";
|
||
|
import DiscourseRoute from "discourse/routes/discourse";
|
||
|
|
||
|
export default class AdminConfigLookAndFeelIndexRoute extends DiscourseRoute {
|
||
|
@service router;
|
||
|
|
||
|
beforeModel() {
|
||
|
this.router.replaceWith("adminConfig.lookAndFeel.themes");
|
||
|
}
|
||
|
}
|