1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-20 12:22:24 +00:00
seahub/static/scripts/sysadmin-app/collection/device-errors.js
2016-04-23 18:07:09 +08:00

18 lines
401 B
JavaScript

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;
});