1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-22 13:18:42 +00:00
seahub/static/scripts/sysadmin-app/collection/device-errors.js

18 lines
401 B
JavaScript
Raw Normal View History

2016-04-23 10:07:09 +00:00
define([
'underscore',
'backbone',
'common',
'sysadmin-app/models/device-error'
], function(_, Backbone, Common, DeviceError) {
'use strict';
var DeviceErrorCollection = Backbone.Collection.extend({
model: DeviceError,
url: function () {
return Common.getUrl({name: 'admin-device-errors'});
}
});
return DeviceErrorCollection;
});