mirror of https://github.com/Sonarr/Sonarr
16 lines
418 B
JavaScript
16 lines
418 B
JavaScript
|
"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();
|
|||
|
});
|