1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-30 08:53:49 +00:00
seahub/static/scripts/app/collections/activities.js

18 lines
363 B
JavaScript
Raw Normal View History

2015-07-24 03:37:57 +00:00
define([
'underscore',
'backbone',
'common',
'app/models/activity'
], function(_, Backbone, Common, Activity) {
'use strict';
var ActivityCollection = Backbone.Collection.extend({
model: Activity,
url: function () {
return Common.getUrl({name: 'events'});
}
});
return ActivityCollection;
});