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