mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 11:04:57 +08:00
20 lines
392 B
JavaScript
20 lines
392 B
JavaScript
Discourse.AdminRoute = Discourse.Route.extend({
|
|
renderTemplate: function() {
|
|
this.render('admin/templates/admin');
|
|
},
|
|
|
|
titleToken: function() {
|
|
return I18n.t('admin_title');
|
|
},
|
|
|
|
activate: function() {
|
|
this._super();
|
|
$("link.custom-css").attr("rel", "");
|
|
},
|
|
|
|
deactivate: function() {
|
|
this._super();
|
|
$("link.custom-css").attr("rel", "stylesheet");
|
|
}
|
|
});
|