discourse/app/assets/javascripts/admin/routes/admin.js

Failed to ignore revisions in .git-blame-ignore-revs.

19 lines
368 B
JavaScript
Raw Normal View History

import DiscourseRoute from "discourse/routes/discourse";
export default DiscourseRoute.extend({
titleToken() {
2018-06-15 23:03:24 +08:00
return I18n.t("admin_title");
},
activate() {
this.controllerFor("application").setProperties({
showTop: false,
2018-06-15 23:03:24 +08:00
showFooter: false
});
},
deactivate() {
this.controllerFor("application").set("showTop", true);
}
});