discourse/app/assets/javascripts/admin/routes/admin_groups_routes.js

10 lines
234 B
JavaScript
Raw Normal View History

Discourse.AdminGroupsRoute = Discourse.Route.extend({
model: function() {
return Discourse.Group.findAll();
},
renderTemplate: function() {
this.render('admin/templates/groups',{into: 'admin/templates/admin'});
}
});