mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -05:00
16 lines
264 B
JavaScript
16 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();
|
|
}
|
|
|
|
});
|
|
|