Lidarr/UI/AddSeries/RootFolders/RootFolderCollection.js

10 lines
321 B
JavaScript
Raw Normal View History

2013-03-29 19:17:03 +00:00
"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();
});