1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-27 15:37:43 +00:00
seahub/static/scripts/app/collections/repo-shared-upload-links.js

24 lines
468 B
JavaScript
Raw Normal View History

2016-02-01 07:34:15 +00:00
define([
'underscore',
'backbone',
'common'
], function(_, Backbone, Common) {
'use strict';
var Collection = Backbone.Collection.extend({
initialize: function(options) {
this.repo_id = options.repo_id;
},
url: function() {
return Common.getUrl({
name: 'repo_shared_upload_links',
repo_id: this.repo_id
});
}
});
return Collection;
});