mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
FIX: Put in admin title when browsing admin section
This commit is contained in:
parent
c6e08deee2
commit
85747137ef
@ -9,5 +9,9 @@
|
|||||||
Discourse.AdminRoute = Discourse.Route.extend({
|
Discourse.AdminRoute = Discourse.Route.extend({
|
||||||
renderTemplate: function() {
|
renderTemplate: function() {
|
||||||
this.render('admin/templates/admin');
|
this.render('admin/templates/admin');
|
||||||
|
},
|
||||||
|
|
||||||
|
activate: function() {
|
||||||
|
Discourse.set('title', I18n.t('admin_title'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user