1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-22 11:57:34 +00:00

[deleted libs] list deleted libraries, and enable user to restore a library

This commit is contained in:
llj
2017-06-23 12:02:03 +08:00
parent 734766391a
commit 735faec773
10 changed files with 332 additions and 14 deletions

View File

@@ -0,0 +1,18 @@
define([
'underscore',
'backbone',
'common',
'app/models/deleted-repo'
], function(_, Backbone, Common, DeletedRepo) {
'use strict';
var collection = Backbone.Collection.extend({
model: DeletedRepo,
url: function () {
return Common.getUrl({name: 'deleted_repos'});
}
});
return collection;
});