discourse/app/assets/javascripts/admin/routes/admin_api_route.js

16 lines
253 B
JavaScript
Raw Normal View History

2013-03-25 21:04:28 -04:00
/**
Handles routes related to api
@class AdminApiRoute
2013-03-25 21:04:28 -04:00
@extends Discourse.Route
@namespace Discourse
@module Discourse
**/
2013-03-25 21:04:28 -04:00
Discourse.AdminApiRoute = Discourse.Route.extend({
model: function() {
2013-10-22 15:53:08 -04:00
return Discourse.ApiKey.find();
2013-03-25 21:04:28 -04:00
}
2013-03-25 21:04:28 -04:00
});