sonarr-repo-only/UI/AddSeries/RootFolders/RootFolderCollection.js

11 lines
368 B
JavaScript
Raw Normal View History

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