Sonarr/UI/AddSeries/RootFolders/Collection.js

16 lines
418 B
JavaScript
Raw Normal View History

2013-06-21 01:43:58 +00:00
"use strict";
define(
[
'app',
'AddSeries/RootFolders/Model',
'mixins/backbone.signalr.mixin'
], function () {
var rootFolderCollection = Backbone.Collection.extend({
url : NzbDrone.Constants.ApiRoot + '/rootfolder',
model: NzbDrone.AddSeries.RootFolders.RootFolderModel
});
return new rootFolderCollection().BindSignalR();
});