mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +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();
|
|
}
|
|
|
|
});
|
|
|