mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-01 01:12:41 +00:00
21 lines
408 B
JavaScript
21 lines
408 B
JavaScript
|
define([
|
||
|
'underscore',
|
||
|
'backbone',
|
||
|
'common',
|
||
|
'app/models/share-admin-repo'
|
||
|
], function(_, Backbone, Common, ShareAdminRepo) {
|
||
|
'use strict';
|
||
|
|
||
|
var ShareAdminRepoCollection = Backbone.Collection.extend({
|
||
|
|
||
|
model: ShareAdminRepo,
|
||
|
|
||
|
url: function() {
|
||
|
return Common.getUrl({name: 'share_admin_repos'});
|
||
|
}
|
||
|
|
||
|
});
|
||
|
|
||
|
return ShareAdminRepoCollection;
|
||
|
});
|