mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 23:38:35 +08:00
16 lines
253 B
JavaScript
16 lines
253 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.ApiKey.find();
|
|
}
|
|
|
|
});
|