1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-22 05:08:33 +00:00
seahub/static/scripts/sysadmin-app/collection/address-book-groups.js
2018-01-04 18:06:05 +08:00

21 lines
398 B
JavaScript

define([
'underscore',
'backbone',
'common'
], function(_, Backbone, Common) {
'use strict';
var collection = Backbone.Collection.extend({
url: function() {
return Common.getUrl({name: 'admin-address-book-groups'});
},
parse: function(data) {
return data.data; // return the array
}
});
return collection;
});