mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 03:25:31 -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();
|
|
}
|
|
|
|
});
|