mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 08:39:38 -05:00
15 lines
255 B
JavaScript
15 lines
255 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();
|
|
}
|
|
|
|
});
|