mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 00:29:30 -05:00
19 lines
392 B
JavaScript
19 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");
|
|
}
|
|
});
|