mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 01:43:45 +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();
|
|
}
|
|
|
|
});
|
|
|