Lidarr/UI/AddSeries/RootFolders/RootFolderCollection.js

10 lines
321 B
JavaScript

"use strict";
define(['app', 'AddSeries/RootFolders/RootFolderModel'], function () {
var rootFolderCollection = Backbone.Collection.extend({
url : NzbDrone.Constants.ApiRoot + '/rootfolder',
model: NzbDrone.AddSeries.RootFolders.RootFolderModel
});
return new rootFolderCollection();
});