2020-05-13 16:23:41 -04:00
|
|
|
import I18n from "I18n";
|
2019-10-22 09:46:10 -04:00
|
|
|
import DiscourseRoute from "discourse/routes/discourse";
|
|
|
|
|
|
|
|
export default DiscourseRoute.extend({
|
2015-08-07 12:06:55 -04:00
|
|
|
titleToken() {
|
|
|
|
return I18n.t("admin_title");
|
|
|
|
},
|
|
|
|
|
|
|
|
activate() {
|
|
|
|
this.controllerFor("application").setProperties({
|
|
|
|
showTop: false,
|
|
|
|
showFooter: false
|
|
|
|
});
|
|
|
|
},
|
|
|
|
|
|
|
|
deactivate() {
|
|
|
|
this.controllerFor("application").set("showTop", true);
|
|
|
|
}
|
|
|
|
});
|