discourse/app/assets/javascripts/admin/routes/admin.js.es6
2015-08-07 18:06:55 +02:00

17 lines
312 B
JavaScript

export default Discourse.Route.extend({
titleToken() {
return I18n.t('admin_title');
},
activate() {
this.controllerFor("application").setProperties({
showTop: false,
showFooter: false,
});
},
deactivate() {
this.controllerFor("application").set("showTop", true);
}
});