mirror of
https://github.com/haiwen/seahub.git
synced 2025-06-30 08:53:49 +00:00
20 lines
423 B
JavaScript
20 lines
423 B
JavaScript
|
define([
|
||
|
'underscore',
|
||
|
'backbone',
|
||
|
'common'
|
||
|
], function(_, Backbone, Common) {
|
||
|
'use strict';
|
||
|
|
||
|
var GroupDiscussions = Backbone.Collection.extend({
|
||
|
setGroupId: function(group_id) {
|
||
|
this.group_id = group_id;
|
||
|
},
|
||
|
|
||
|
url: function() {
|
||
|
return Common.getUrl({name: 'group_discussions', group_id: this.group_id});
|
||
|
}
|
||
|
});
|
||
|
|
||
|
return GroupDiscussions;
|
||
|
});
|