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 11:03:24 -04:00
return I18n.t("admin_title");
},
activate() {
this.controllerFor("application").setProperties({
showTop: false,
2018-06-15 11:03:24 -04:00
showFooter: false
});
},
deactivate() {
this.controllerFor("application").set("showTop", true);
}
});