FIX: Put in admin title when browsing admin section

This commit is contained in:
Robin Ward 2014-06-27 11:58:46 -04:00
parent c6e08deee2
commit 85747137ef
1 changed files with 4 additions and 0 deletions

View File

@ -9,5 +9,9 @@
Discourse.AdminRoute = Discourse.Route.extend({
renderTemplate: function() {
this.render('admin/templates/admin');
},
activate: function() {
Discourse.set('title', I18n.t('admin_title'));
}
});