2013-02-22 15:41:12 -05:00
|
|
|
/**
|
|
|
|
The base admin route
|
2013-02-21 15:55:58 -05:00
|
|
|
|
2013-06-03 16:12:24 -04:00
|
|
|
@class AdminRoute
|
2013-02-22 15:41:12 -05:00
|
|
|
@extends Discourse.Route
|
|
|
|
@namespace Discourse
|
|
|
|
@module Discourse
|
|
|
|
**/
|
|
|
|
Discourse.AdminRoute = Discourse.Route.extend({
|
|
|
|
renderTemplate: function() {
|
|
|
|
this.render('admin/templates/admin');
|
2014-06-27 11:58:46 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
activate: function() {
|
|
|
|
Discourse.set('title', I18n.t('admin_title'));
|
2013-02-22 15:41:12 -05:00
|
|
|
}
|
|
|
|
});
|