mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
19 lines
342 B
JavaScript
19 lines
342 B
JavaScript
/**
|
|
Handles routes related to api
|
|
|
|
@class AdminApiRoute
|
|
@extends Discourse.Route
|
|
@namespace Discourse
|
|
@module Discourse
|
|
**/
|
|
Discourse.AdminApiRoute = Discourse.Route.extend({
|
|
|
|
model: function() {
|
|
return Discourse.AdminApi.find();
|
|
},
|
|
|
|
renderTemplate: function() {
|
|
this.render({into: 'admin/templates/admin'});
|
|
}
|
|
|
|
});
|