11 lines
368 B
JavaScript
11 lines
368 B
JavaScript
"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();
|
|
});
|