1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-28 19:05:55 +00:00
Radarr/UI/Quality/qualityProfileCollection.js

14 lines
354 B
JavaScript
Raw Normal View History

define(['app', 'Quality/QualityProfileModel'], function () {
var qualityProfileCollection = Backbone.Collection.extend({
model: NzbDrone.Quality.QualityProfileModel,
url : NzbDrone.Constants.ApiRoot + '/qualityprofiles'
});
var profiles = new qualityProfileCollection();
profiles.fetch();
return profiles;
});