1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 09:18:34 +00:00
Sonarr/UI/Quality/qualityProfileCollection.js
2013-03-29 16:28:58 -07:00

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