mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 22:01:06 +00:00
Move scripts from media to static folder
This commit is contained in:
19
static/scripts/app/collections/groups.js
Normal file
19
static/scripts/app/collections/groups.js
Normal file
@@ -0,0 +1,19 @@
|
||||
define([
|
||||
'underscore',
|
||||
'backbone',
|
||||
'app/models/group'
|
||||
], function(_, Backbone, Group) {
|
||||
'use strict';
|
||||
|
||||
var GroupCollection = Backbone.Collection.extend({
|
||||
model: Group,
|
||||
url: app.config.siteRoot + 'api2/groups/?with_msg=false',
|
||||
|
||||
initialize: function() {
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
return GroupCollection;
|
||||
});
|
Reference in New Issue
Block a user