1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-26 07:02:11 +00:00
seahub/static/scripts/app/collections/repo-user-folder-perm.js

24 lines
465 B
JavaScript
Raw Normal View History

2016-02-07 09:29:49 +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_user_folder_perm',
repo_id: this.repo_id
});
}
});
return Collection;
});