1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-24 06:09:07 +00:00
seahub/static/scripts/sysadmin-app/collection/device-trusted-ipaddresses.js

18 lines
459 B
JavaScript
Raw Normal View History

2017-09-18 06:21:11 +00:00
define([
'underscore',
'backbone',
'common',
'sysadmin-app/models/device-trusted-ipaddress'
], function(_, Backbone, Common, DeviceTrustedIPAddress){
'use strict';
var DeviceTrustedIPAddressCollection = Backbone.Collection.extend({
model: DeviceTrustedIPAddress,
url: function() {
return Common.getUrl({name: 'admin-device-trusted-ip'});
}
});
return DeviceTrustedIPAddressCollection;
});