1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-01 01:12:41 +00:00
seahub/static/scripts/app/collections/share-admin-repos.js

21 lines
408 B
JavaScript
Raw Normal View History

2016-06-30 07:06:43 +00:00
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;
});