1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-20 20:32:44 +00:00
seahub/static/scripts/sysadmin-app/collection/trash-repos.js

18 lines
403 B
JavaScript
Raw Normal View History

2016-05-27 08:42:40 +00:00
define([
'underscore',
'backbone',
'common',
'sysadmin-app/models/trash-repo'
], function(_, Backbone, Common, TrashRepoModel) {
'use strict';
var TrashRepoCollection = Backbone.Collection.extend({
model: TrashRepoModel,
url: function () {
return Common.getUrl({name: 'admin-trash-libraries'});
}
});
return TrashRepoCollection;
});