1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 20:42:37 +01:00
Radarr/UI/Quality/QualityProfileCollection.js

19 lines
435 B
JavaScript
Raw Normal View History

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