mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-29 11:05:44 +00:00
18 lines
435 B
JavaScript
18 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;
|
||
});
|