1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-28 02:40:01 +00:00
Radarr/UI/Quality/QualityProfileCollection.js
2013-09-14 00:10:19 -07:00

18 lines
441 B
JavaScript

'use strict';
define(
[
'backbone',
'Quality/QualityProfileModel'
], function (Backbone, QualityProfileModel) {
var QualityProfileCollection = Backbone.Collection.extend({
model: QualityProfileModel,
url : window.NzbDrone.ApiRoot + '/qualityprofiles'
});
var profiles = new QualityProfileCollection();
profiles.fetch();
return profiles;
});