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

17 lines
311 B
Plaintext
Raw Normal View History

export default Discourse.Route.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);
}
});