1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-01 00:12:30 +01:00
Sonarr/UI/Quality/qualityProfileCollection.js
2013-03-29 16:28:58 -07:00

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;
});