mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
new share admin page (#1233)
This commit is contained in:
20
static/scripts/app/collections/share-admin-folders.js
Normal file
20
static/scripts/app/collections/share-admin-folders.js
Normal file
@@ -0,0 +1,20 @@
|
||||
define([
|
||||
'underscore',
|
||||
'backbone',
|
||||
'common',
|
||||
'app/models/share-admin-folder'
|
||||
], function(_, Backbone, Common, ShareAdminFolder) {
|
||||
'use strict';
|
||||
|
||||
var ShareAdminFolderCollection = Backbone.Collection.extend({
|
||||
|
||||
model: ShareAdminFolder,
|
||||
|
||||
url: function() {
|
||||
return Common.getUrl({name: 'share_admin_folders'});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
return ShareAdminFolderCollection;
|
||||
});
|
Reference in New Issue
Block a user