mirror of https://github.com/Radarr/Radarr
14 lines
354 B
JavaScript
14 lines
354 B
JavaScript
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;
|
|
});
|