mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
19 lines
435 B
JavaScript
19 lines
435 B
JavaScript
'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;
|
||
});
|