discourse/app/assets/javascripts/admin/routes/admin_route.js

18 lines
333 B
JavaScript
Raw Normal View History

/**
The base admin route
2013-02-22 04:55:58 +08:00
@class AdminRoute
@extends Discourse.Route
@namespace Discourse
@module Discourse
**/
Discourse.AdminRoute = Discourse.Route.extend({
renderTemplate: function() {
this.render('admin/templates/admin');
},
activate: function() {
Discourse.set('title', I18n.t('admin_title'));
}
});