mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
17 lines
333 B
JavaScript
17 lines
333 B
JavaScript
/**
|
|
The base admin route
|
|
|
|
@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'));
|
|
}
|
|
});
|