mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 22:23:55 +08:00
9329a5395a
This commit is the first of a series of commits that will allow themes to define complex settings types by declaring a schema of the setting structure that Discourse core will use to build a UI for the setting automatically. We implement the navigation logic and support for multiple levels of nesting in this commit and we'll continue building this new system gradually in future commits. Internal topic: t/116870.
9 lines
255 B
JavaScript
9 lines
255 B
JavaScript
import Route from "@ember/routing/route";
|
|
|
|
export default class AdminCustomizeThemesSchemaRoute extends Route {
|
|
setupController() {
|
|
super.setupController(...arguments);
|
|
this.controllerFor("adminCustomizeThemes").set("editingTheme", true);
|
|
}
|
|
}
|