mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 16:44:33 +08:00
17 lines
264 B
JavaScript
17 lines
264 B
JavaScript
/**
|
|
Handles routes for admin groups
|
|
|
|
@class AdminGroupsRoute
|
|
@extends Discourse.Route
|
|
@namespace Discourse
|
|
@module Discourse
|
|
**/
|
|
Discourse.AdminGroupsRoute = Discourse.Route.extend({
|
|
|
|
model: function() {
|
|
return Discourse.Group.findAll();
|
|
}
|
|
|
|
});
|
|
|