mirror of
https://github.com/haiwen/seahub.git
synced 2025-06-26 07:02:11 +00:00
24 lines
465 B
JavaScript
24 lines
465 B
JavaScript
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_user_folder_perm',
|
|
repo_id: this.repo_id
|
|
});
|
|
}
|
|
});
|
|
|
|
return Collection;
|
|
});
|